ID == 0 ) return; $ignores = explode( ',', AtD_get_setting( $user->ID, 'AtD_ignored_phrases') ); array_push( $ignores, $_GET['phrase'] ); AtD_update_setting( $user->ID, 'AtD_ignored_phrases', implode( ',', $ignores ) ); header( 'Content-Type: text/xml' ); echo ''; die(); } /* * Called when a POST occurs, used to save AtD ignored phrases */ function AtD_process_unignore_update() { $user = wp_get_current_user(); if ( ! $user || $user->ID == 0 ) return; AtD_update_setting( $user->ID, 'AtD_ignored_phrases', $_POST['AtD_ignored_phrases'] ); } /* * Display the AtD unignore form on a page */ function AtD_display_unignore_form() { $user = wp_get_current_user(); if ( ! $user || $user->ID == 0 ) return; $ignores = AtD_get_setting( $user->ID, 'AtD_ignored_phrases'); ?>

Ignored Phrases

Identify words and phrases to ignore while proofreading your posts and pages: