Lines:
1 to 52 of 52
<?php use Automattic\Jetpack\Status; /* class Jetpack_Core_API_Module_Toggle_Endpoint */ /* function Jetpack_Core_API_Module_Toggle_Endpoint::process() – Check if the module requires the site to be publicly accessible from WPCOM. */ /* function Jetpack_Core_API_Module_Toggle_Endpoint::activate_module() – If it’s a valid Jetpack module, activate it. */ /* function Jetpack_Core_API_Module_Toggle_Endpoint::deactivate_module() – If it’s a valid Jetpack module, deactivate it. */ /* function Jetpack_Core_API_Module_Toggle_Endpoint::can_request() – Check that the current user has permissions to manage Jetpack modules. */ /* class Jetpack_Core_API_Module_List_Endpoint */ /* function Jetpack_Core_API_Module_List_Endpoint::process() – A WordPress REST API callback method that accepts a request object and decides what to do with it. */ /* function Jetpack_Core_API_Module_List_Endpoint::get_modules() – Get a list of all Jetpack modules and their information. */ /* function Jetpack_Core_API_Module_List_Endpoint::activate_modules() – Activate a list of valid Jetpack modules. */ /* function Jetpack_Core_API_Module_List_Endpoint::can_request() – A WordPress REST API permission callback method that accepts a request object and decides if the current user has enough privileges to act. */ /* class Jetpack_Core_API_Data */ /* function Jetpack_Core_API_Data::process() – Process request by returning the module or updating it. */ /* function Jetpack_Core_API_Data::get_module() – Get information about a specific and valid Jetpack module. */ /* function Jetpack_Core_API_Data::get_all_options() – Get information about all Jetpack module options and settings. */ /* function Jetpack_Core_API_Data::decode_special_characters() – Decode the special HTML characters in a certain value. */ /* function Jetpack_Core_API_Data::update_data() – If it’s a valid Jetpack module and configuration parameters have been sent, update it. */ /* function Jetpack_Core_API_Data::_process_onboarding() – Perform tasks in the site based on onboarding choices. */ /* function Jetpack_Core_API_Data::handle_business_address() – Add or update Business Address widget. */ /* function Jetpack_Core_API_Data::has_business_address_widget() – Check whether "Contact Info & Map" widget is present in a given sidebar. */ /* function Jetpack_Core_API_Data::can_request() – Check if user is allowed to perform the update. */ /* class Jetpack_Core_API_Module_Data_Endpoint */ /* function Jetpack_Core_API_Module_Data_Endpoint::process() – */ /* function Jetpack_Core_API_Module_Data_Endpoint::key_check() – Decide against which service to check the key. */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_protect_data() – Get number of blocked intrusion attempts. */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_akismet_data() – Get number of spam messages blocked by Akismet. */ /* function Jetpack_Core_API_Module_Data_Endpoint::check_akismet_key() – Verify the Akismet API key. */ /* function Jetpack_Core_API_Module_Data_Endpoint::akismet_class_exists() – Check if Akismet class file exists and if class is loaded. */ /* function Jetpack_Core_API_Module_Data_Endpoint::akismet_is_active_and_registered() – Is Akismet registered and active? */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_stats_data() – Get stats data for this site */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_monitor_data() – Get date of last downtime. */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_verification_tools_data() – Get services that this site is verified with. */ /* function Jetpack_Core_API_Module_Data_Endpoint::get_vaultpress_data() – Get VaultPress site data including, among other things, the date of the last backup if it was completed. */ /* function Jetpack_Core_API_Module_Data_Endpoint::can_request() – A WordPress REST API permission callback method that accepts a request object and decides if the current user has enough privileges to act. */ /* function jetpack_do_after_gravatar_hovercards_activation() – Actions performed only when Gravatar Hovercards is activated through the endpoint call. */ add_action( 'jetpack_activate_module_gravatar-hovercards', 'jetpack_do_after_gravatar_hovercards_activation' ); /* function jetpack_do_after_gravatar_hovercards_deactivation() – Actions performed only when Gravatar Hovercards is activated through the endpoint call. */ add_action( 'jetpack_deactivate_module_gravatar-hovercards', 'jetpack_do_after_gravatar_hovercards_deactivation' ); /* function jetpack_do_after_markdown_activation() – Actions performed only when Markdown is activated through the endpoint call. */ add_action( 'jetpack_activate_module_markdown', 'jetpack_do_after_markdown_activation' );