# cryptx/3.3.1/include/admin_howto.php

CryptX, version 3.3.1. 26 lines.

- Page: https://pluginprobe.com/plugins/cryptx/3.3.1/code/include/admin_howto.php
- Raw: https://pluginprobe.com/plugins/cryptx/3.3.1/raw/include/admin_howto.php
- Modified: 2019-09-19T09:26:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cryptx/3.3.1/code/include/admin_howto.php#L10-L20`.

```php
<?php
/**
 * CryptX option page "How to"-Tab
 */
function rw_cryptx_settings_tab_content_howto() {
	global $cryptX_var, $rw_cryptx_active_tab;
	if ( 'howto' != $rw_cryptx_active_tab )
		return;
	?>

	<h4><?php _e( "How to use CryptX in your Template",'cryptx' ); ?></h4>
    <table class="form-table">
        <tr>
            <td><?php _e("In your Template you can use the following function to encrypt a email address:",'cryptx'); ?><br>
            <pre>
&lt;?php
    $content = "name@example.com";
    echo (function_exists('encryptx'))? encryptx($content) : $content;
?&gt;
            </pre>
            </td>
        </tr>
    </table>
	<?php
}
add_action( 'rw_cryptx_settings_content', 'rw_cryptx_settings_tab_content_howto' );
```
