if (!isset($_POST['sm_general_options_submitted'])) { return; } if ( !current_user_can('administrator') ) { exit; } if (!wp_verify_nonce( $_POST['custom_content_nonce'], 'process_custom_content' )) { exit; }
wp_nonce_field( 'process_post_page_manage', 'post_page_manage_nonce' );