This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Display notification message when plugin options are saved | |
*/ | |
function the_champ_settings_saved_notification(){ | |
if(isset($_GET['settings-updated']) && sanitize_text_field($_GET['settings-updated']) == 'true'){ | |
return '<div id="setting-error-settings_updated" class="updated settings-error notice is-dismissible below-h2"> | |
<p><strong>' . __('Settings saved', 'super-socializer') . '</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">' . __('Dismiss this notice', 'super-socializer') . '</span></button></div>'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Display notification message when plugin options are saved | |
*/ | |
function the_champ_settings_saved_notification(){ | |
if(isset($_GET['settings-updated']) && sanitize_text_field($_GET['settings-updated']) == 'true'){ | |
return '<div id="setting-error-settings_updated" class="updated settings-error notice is-dismissible below-h2"> | |
<p><strong>' . __('Settings saved', 'super-socializer') . '</strong></p><button type="button" class="notice-dismiss"><span class="screen-reader-text">' . __('Dismiss this notice', 'super-socializer') . '</span></button></div>'; | |
} | |
} |
OlderNewer