public static function ShareaholicUtilities::is_shareaholic_settings_page in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 utilities.php \ShareaholicUtilities::is_shareaholic_settings_page()
Checks if the current page is the settings page
Return value
Boolean (actually 1, 0, or FALSE)
1 call to ShareaholicUtilities::is_shareaholic_settings_page()
- ShareaholicAdmin::show_terms_of_service_notice in ./
admin.php - Show the terms of service notice on admin pages except for shareaholic admin settings page
File
- ./
utilities.php, line 554
Class
Code
public static function is_shareaholic_settings_page() {
return preg_match('/admin\\/config\\/shareaholic\\//', request_uri());
}