Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wp_nonce_field('tld_wcdpue_settings_nonce_action', 'tld_wcdpue_settings_nonce_field');
- $tld_wcdpue_settings_email_content = get_option('tld_wcdpue_settings_email_content');
- wp_editor( $tld_wcdpue_settings_email_content, 'tld_wcdpue_settings_wpeditor', array( 'wpautop' => false ) );
- if( isset(//does authentication here) ){
- update_option( 'tld_wcdpue_settings_email_content', wp_kses_post( $_POST['tld_wcdpue_settings_wpeditor'] ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement