Deprecated: GuzzleHttp\Promise\queue(): Implicitly marking parameter $assign as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 24
Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 260
Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 260
Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 285
Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 285
Deprecated: GuzzleHttp\Promise\each_limit_all(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/guzzlehttp/promises/src/functions.php on line 307
Deprecated: Google\Client::fetchAccessTokenWithAssertion(): Implicitly marking parameter $authHttp as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Client.php on line 283
Deprecated: Google\Client::authorize(): Implicitly marking parameter $http as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Client.php on line 414
Deprecated: Google\AccessToken\Revoke::__construct(): Implicitly marking parameter $http as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AccessToken/Revoke.php on line 42
Deprecated: Google\AccessToken\Verify::__construct(): Implicitly marking parameter $http as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AccessToken/Verify.php on line 67
Deprecated: Google\AccessToken\Verify::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AccessToken/Verify.php on line 67
Deprecated: Google\AuthHandler\Guzzle6AuthHandler::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php on line 23
Deprecated: Google\AuthHandler\Guzzle6AuthHandler::attachCredentials(): Implicitly marking parameter $tokenCallback as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php on line 29
Deprecated: Google\AuthHandler\Guzzle6AuthHandler::attachCredentialsCache(): Implicitly marking parameter $tokenCallback as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle6AuthHandler.php on line 46
Deprecated: Google\AuthHandler\Guzzle5AuthHandler::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php on line 23
Deprecated: Google\AuthHandler\Guzzle5AuthHandler::attachCredentials(): Implicitly marking parameter $tokenCallback as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php on line 29
Deprecated: Google\AuthHandler\Guzzle5AuthHandler::attachCredentialsCache(): Implicitly marking parameter $tokenCallback as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/AuthHandler/Guzzle5AuthHandler.php on line 46
Deprecated: Google\Http\REST::decodeHttpResponse(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Http/REST.php on line 121
Deprecated: Google\Http\REST::decodeBody(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Http/REST.php on line 150
Deprecated: Google\Http\REST::determineExpectedClass(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Http/REST.php on line 160
Deprecated: Google\Http\REST::isAltMedia(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Http/REST.php on line 187
Deprecated: Google\Service\Exception::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Service/Exception.php on line 39
Deprecated: Google\Task\Composer::cleanup(): Implicitly marking parameter $filesystem as nullable is deprecated, the explicit nullable type must be used instead in /home/webbuild/public_html/wp-content/plugins/googleanalytics/lib/analytics-admin/vendor/google/apiclient/src/Task/Composer.php on line 31
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the server-ip-memory-usage domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/webbuild/public_html/wp-includes/functions.php on line 6121
/*
* Admin Settings
*/
if ( is_admin() ){ // admin actions
add_action( 'admin_menu', 'add_wtd_settings_admin_menu');
add_action( 'admin_init', 'register_wtd_maintentance_mode_options');
}
function add_wtd_settings_admin_menu() {
add_options_page(
'WTD Settings',
'WTD',
'read',
'wrd',
'display_wtd_plugin_admin_page'
);
}
function display_wtd_plugin_admin_page() {
include_once( 'settings-page.php' );
}
function register_wtd_maintentance_mode_options() {
register_setting( 'wtd-maintenance-mode', 'wtd_maintenance_mode' );
register_setting( 'wtd-maintenance-mode', 'wtd_maintenance_mode_status' );
register_setting( 'wtd-maintenance-mode', 'wtd_maintenance_mode_credits' );
register_setting( 'wtd-maintenance-mode', 'wtd_maintenance_mode_custom' );
register_setting( 'wtd-maintenance-mode', 'wtd_maintenance_mode_contactform' );
}
webbuild.ukwebbuild.uk – Just another WordPress site