Jetpack Social 10.0.0 has 145 actions and 255 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Jetpack Social fires an action
add_action( 'jetpack_xmlrpc_server_event', function( $arg1, $arg2, $arg3, $user ) {
// Your code runs here.
}, 10, 4 );
// Change a value Jetpack Social is about to use
add_filter( 'jetpack_package_versions', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
jetpack_xmlrpc_server_event
action/** * Happens on various request handling events in the Jetpack XMLRPC server. The * action combines several types of events: - remote_authorize - * remote_provision - get_user. */ do_action( 'jetpack_xmlrpc_server_event', 'remote_authorize', 'begin', array(), $user ); -
jetpack_package_versions
filter/** * Obtains the package versions. */ apply_filters( 'jetpack_package_versions', array() ); -
jetpack_photon_skip_image
filter/** * Allow specific images to be skipped by Photon. */ apply_filters( 'jetpack_photon_skip_image', false, $src, $tag ); -
/** * This filter is documented in class-images.php */ apply_filters( 'jetpack_postimages_exclude_image', false, $image ); -
all_plugins
filter/** * This filter is documented in * wp-admin/includes/class-wp-plugins-list-table.php */ apply_filters( 'all_plugins', get_plugins() ); -
jetpack_publicize_services
filter/** * Filters the list of Publicize services available to the site. */ apply_filters( 'jetpack_publicize_services', $services ); -
jetpack_sharing_twitter_via
filter/** * This action is documented in modules/sharedaddy/sharing-sources.php */ apply_filters( 'jetpack_sharing_twitter_via', '', $post_id ); -
/** * Filter the list of callables that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_callable_whitelist', self::$default_callable_whitelist ); -
jetpack_sync_save_user
action/** * Fires when the client needs to sync an updated user. */ do_action( 'jetpack_sync_save_user', $user_id, $this->get_flags( $user_id ) ); -
wp_login_failed
action/** * This filter is documented in core/src/wp-includes/pluggable.php */ do_action( 'wp_login_failed', $user_data->login, $error ); -
admin_head
action/** * This action is documented in wp-admin/admin-header.php */ do_action( 'admin_head' ); -
admin_head-{$hook_suffix}
action/** * This action is documented in wp-admin/admin-header.php */ do_action( "admin_head-{$hook_suffix}" ); -
https_local_ssl_verify
filter/** * This filter is documented in wp-includes/class-wp-http-streams.php */ apply_filters( 'https_local_ssl_verify', false ); -
jetpack_ai_enabled
filter/** * Filter to enable/disable Jetpack AI. */ apply_filters( 'jetpack_ai_enabled', true ); -
jetpack_build_authorize_url
filter/** * Filter the URL used when connecting a user to a WordPress.com account. */ apply_filters( 'jetpack_build_authorize_url', $url, $raw ); -
jetpack_edited_theme
action/** * Trigger action to alert $callable sync listener that a theme was edited. */ do_action( 'jetpack_edited_theme', $query_params['theme'], $theme_data ); -
jetpack_full_sync_cancelled
action/** * Fires when a full sync is cancelled. */ do_action( 'jetpack_full_sync_cancelled' ); -
jetpack_full_sync_end
action/** * Fires when a full sync ends. This action is serialized and sent to the * server. */ do_action( 'jetpack_full_sync_end', '', $range ); -
jetpack_full_sync_start
action/** * Fires when a full sync begins. This action is serialized and sent to the * server so that it knows a full sync is coming. */ do_action( 'jetpack_full_sync_start', $config, $range ); -
/** * This filter is documented in the * Automattic\Jetpack\JITMS\Post_Connection_JITM class. */ apply_filters( 'jetpack_just_in_time_msg_cache', true ); -
jetpack_offline_mode
filter/** * This filter is documented in packages/status/src/class-status.php */ apply_filters( 'jetpack_offline_mode', false ); -
jetpack_options_whitelist
filter/** * This filter is already documented in * json-endpoints/jetpack/class.wpcom-json-api-get-option-endpoint.php */ apply_filters( 'jetpack_options_whitelist', self::$default_options_whitelist ); -
/** * Add query strings to Photon URL. By default, Photon doesn't support query * strings so we ignore them. This setting is Photon Server dependent. */ apply_filters( 'jetpack_photon_add_query_string_to_domain', false, $image_url_parts['host'] ); -
jetpack_photon_domain
filter/** * Filters the domain used by the Photon module. */ apply_filters( 'jetpack_photon_domain', 'https://i0.wp.com', $image_url ); -
jetpack_publicize_capability
filter/** * Filter what user capability is required to use the publicize form on the * edit post page. Useful if publish post capability has been removed from * role. */ apply_filters( 'jetpack_publicize_capability', 'publish_posts' ); -
/** * Filters the list of Publicize connections for the site. */ apply_filters( 'jetpack_publicize_connections', $connections ); -
jetpack_registered_jitms
action/** * This action is documented in projects/packages/jitm/src/class-jitm.php */ do_action( 'jetpack_registered_jitms' ); -
/** * Filters whether the sync_error_idc option is valid. */ apply_filters( 'jetpack_sync_error_idc_validation', $is_valid ); -
jetpack_sync_modules
filter/** * This filter is documented in projects/packages/sync/src/class-modules.php */ apply_filters( 'jetpack_sync_modules', Modules::DEFAULT_SYNC_MODULES ); -
/** * Filter the list of multisite callables that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_multisite_callable_whitelist', self::$default_multisite_callable_whitelist ); -
/** * Filter the list of WordPress options that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_options_whitelist', $options_whitelist ); -
/** * Allows us to keep track of all the actions that have been sent. Allows us to * calculate the progress of specific actions. */ do_action( 'jetpack_sync_processed_actions', $processed_items ); -
/** * Fires on every request before default loading sync sender code. Return false * to not load sync sender code that serializes pending data and sends it to * WPCOM for processing. */ apply_filters( 'jetpack_sync_sender_should_load', self::should_initialize_sender() ); -
/** * Filter the default Twitter card image, used when no image can be found in a * post. */ apply_filters( 'jetpack_twitter_cards_image_default', '' ); -
jetpack_widget_edited
action/** * Trigger action to alert $callable sync listener that a widget was edited. */ do_action( 'jetpack_widget_edited', $widget ); -
login_redirect
filter/** * This filter is documented in core/src/wp-login.php */ apply_filters( 'login_redirect', $redirect_to, $_request_redirect_to, $user ); -
my_jetpack_init
action/** * Fires after the My Jetpack package is initialized */ do_action( 'my_jetpack_init' ); -
option_active_plugins
filter/** * This filter is documented in wp-includes/option.php */ apply_filters( 'option_active_plugins', array(), 'active_plugins' ); -
/** * Determines whether a post being published gets publicized. */ apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post ); -
wpas_submit_post?
filter/** * Filter whether a post should be publicized to a given service. */ apply_filters( 'wpas_submit_post?', true, $post_id, $service_name, $connection ); -
delete_term_relationships
action/** * Fires immediately before an object-term relationship is deleted. */ do_action( 'delete_term_relationships', $object_id, $tt_ids_sanitized ); -
deleted_term_relationships
action/** * Fires immediately after an object-term relationship is deleted. */ do_action( 'deleted_term_relationships', $object_id, $taxonomy_tt_ids ); -
identity_crisis_container_id
filter/** * Use the filter to provide custom HTML elecontainer ID. */ apply_filters( 'identity_crisis_container_id', null ); -
/** * This filter is documented in wp-admin/includes/image.php */ apply_filters( 'intermediate_image_sizes_advanced', self::$sizes, $this->data ); -
jetpack_{$transient}_change
action/** * Trigger a change to a specific update that we want to sync. Triggers one of * the following actions: - jetpack_{$transient}_change - * jetpack_update_plugins_change - jetpack_update_themes_change */ do_action( "jetpack_{$transient}_change", $value ); -
jetpack_activate_module
action/** * Fires when a specific module is activated. */ do_action( 'jetpack_activate_module', $module, $success ); -
/** * Fires when a module is activated. The dynamic part of the filter, $module, * is the module slug. */ do_action( "jetpack_activate_module_{$module}", $module ); -
jetpack_active_modules
filter/** * Allow filtering of the active modules. */ apply_filters( 'jetpack_active_modules', $active ); -
/** * Allow disabling Jetpack's image CDN for ActivityPub requests. */ apply_filters( 'jetpack_activitypub_post_disable_cdn', false ); -
jetpack_admin_js_script_data
filter/** * Filter the admin script data. */ apply_filters( 'jetpack_admin_js_script_data', $data ); -
jetpack_affiliate_code
filter/** * Allow to filter the affiliate code. */ apply_filters( 'jetpack_affiliate_code', get_option( 'jetpack_affiliate_code', '' ) ); -
/** * Acton fired when the master user has agreed to the terms of service. */ do_action( 'jetpack_agreed_to_terms_of_service' ); -
jetpack_api_url
filter/** * Filters the API URL that Jetpack uses for server communication. */ apply_filters( 'jetpack_api_url', rtrim( $api_base . $relative_url, '/\\' ) . $api_version, $relative_url, $api_base, $api_version ); -
jetpack_auth_type
filter/** * Filter the type of authorization. 'calypso' completes authorization on * wordpress.com/jetpack/connect while 'jetpack' ( or any other value ) * completes the authorization at jetpack.wordpress.com. */ apply_filters( 'jetpack_auth_type', 'calypso' ); -
/** * Action fired when the master user has been authorized. */ do_action( 'jetpack_authorize_ending_authorized', $data ); -
/** * Action fired when a secondary user has been authorized. */ do_action( 'jetpack_authorize_ending_linked' ); -
jetpack_authorize_starting
action/** * Action fired when user authorization starts. */ do_action( 'jetpack_authorize_starting' ); -
/** * Helps Sync log that a got cleared from inactive. */ do_action( 'jetpack_cleared_inactive_widgets' ); -
jetpack_client_authorized
action/** * Fires after the Jetpack client is authorized to communicate with * WordPress.com. */ do_action( 'jetpack_client_authorized', Jetpack_Options::get_option( 'id' ) ); -
/** * SSL verification (`sslverify`) for the JetpackClient remote request defaults * to off, use this filter to force it on. */ apply_filters( 'jetpack_client_verify_ssl_certs', false ); -
/** * Filter the URL of the first time the user gets redirected back to your site * for connection data processing. */ apply_filters( 'jetpack_connect_processing_url', admin_url( 'admin.php' ) ); -
jetpack_connect_redirect_url
filter/** * Filter the URL to redirect the user back to when the authorization process * is complete. */ apply_filters( 'jetpack_connect_redirect_url', $redirect ); -
jetpack_connect_request_body
filter/** * Filters the user connection request data for additional property addition. */ apply_filters( 'jetpack_connect_request_body', $body_args ); -
/** * Filters the Connection_Manager instance used by the Connection abilities. */ apply_filters( 'jetpack_connection_abilities_manager', new Connection_Manager() ); -
/** * Filters the account errors. */ apply_filters( 'jetpack_connection_account_errors', $errors, $current_user_email, $wpcom_user_email ); -
/** * Whether to bypass the gate for the error handling */ apply_filters( 'jetpack_connection_bypass_error_reporting_gate', false ); -
/** * Fires upon the disconnect attempt. Return `false` to prevent the disconnect. */ apply_filters( 'jetpack_connection_delete_all_tokens', true ); -
/** * Fires upon the disconnect attempt. Return `false` to prevent the disconnect. */ apply_filters( 'jetpack_connection_disconnect_site_wpcom', true, $this ); -
/** * Fires inside the admin_notices hook just before displaying the error message * for a broken connection. */ do_action( 'jetpack_connection_error_notice', $displayable_errors ); -
/** * Filters the message to be displayed in the admin notices area when there's a * connection error. */ apply_filters( 'jetpack_connection_error_notice_message', $default_message, $displayable_errors ); -
/** * Adjust the time limit for the scheduled cleanup. */ apply_filters( 'jetpack_connection_nonce_cleanup_runtime_limit', static::SCHEDULED_CLEANUP_TIME_LIMIT ); -
/** * Filters whether the Jetpack connection ownership can be transferred. */ apply_filters_deprecated( 'jetpack_connection_ownership_transferable', array( true ), 'package-9.11.0', '', __( 'The protected owner anchor is the only ownership lock.', 'jetpack-connection' ) ); -
/** * Filters a map of plugin slugs to custom logo URLs for the Settings → * Connectors card. */ apply_filters( 'jetpack_connection_plugin_logos', array() ); -
/** * Filters whether the connection package renders its default protected owner * UI. */ apply_filters( 'jetpack_connection_protected_owner_default_ui', true ); -
/** * Filters the URL used to reconnect the Jetpack connection. */ apply_filters( 'jetpack_connection_reconnect_url', '' ); -
/** * Filters whether a protected owner is required at this moment. */ apply_filters( 'jetpack_connection_requires_protected_owner', false ); -
/** * Filters the badge label shown in WordPress Site Health for connection tests. */ apply_filters( 'jetpack_connection_site_health_badge_label', __( 'Jetpack Connection', 'jetpack-connection' ) ); -
jetpack_connection_status
filter/** * Filters the connection status data. */ apply_filters( 'jetpack_connection_status', $connection_status ); -
/** * Filters the Jetpack support URL used in connection health tests. */ apply_filters( 'jetpack_connection_support_url', Redirect::get_url( 'jetpack-contact-support' ) ); -
/** * Fires after loading default connection health tests. */ do_action( 'jetpack_connection_tests_loaded', $this ); -
/** * Fires after all connection tokens have been deleted from the local site. */ do_action( 'jetpack_connection_tokens_deleted' ); -
/** * Check for the user's unattached licenses. */ apply_filters( 'jetpack_connection_user_has_license', false, $licenses, $plugin_slug ); -
/** * Allows modifying the response. */ apply_filters( 'jetpack_connection_validate_urls_for_idc_mitigation_response', $response ); -
/** * Filters the value of the constant. */ apply_filters( 'jetpack_constant_default_value', null, $name ); -
jetpack_content_width
filter/** * Filter the Content Width value. */ apply_filters( 'jetpack_content_width', $content_width ); -
/** * Filters the current user connection data. */ apply_filters( 'jetpack_current_user_connection_data', $current_user_connection_data ); -
jetpack_deactivate_module
action/** * Fired after a module has been deactivated. */ do_action( 'jetpack_deactivate_module', $module, $success ); -
/** * Fires when a module is deactivated. The dynamic part of the filter, $module, * is the module slug. */ do_action( "jetpack_deactivate_module_{$module}", $module ); -
/** * Determines if the WP.com testing suite should be included. */ apply_filters( 'jetpack_debugger_run_self_test', false ); -
jetpack_deleted_theme
action/** * Signals to the sync listener that a theme was deleted and a sync action * reflecting the deletion and theme slug should be sent */ do_action( 'jetpack_deleted_theme', $stylesheet, $theme_data ); -
jetpack_deleted_user
action/** * Fires when a user is deleted on a site */ do_action( 'jetpack_deleted_user', $deleted_user_id, $reassigned_user_id, $is_multisite ); -
/** * Filter the value of Device_Detection::get_info. */ apply_filters( 'jetpack_device_detection_get_info', $info, $ua, $ua_info ); -
/** * This action is documented in class.jetpack.php */ apply_filters( 'jetpack_disable_twitter_cards', false ); -
jetpack_disabled_raw_options
filter/** * Allows to disable particular raw options. */ apply_filters( 'jetpack_disabled_raw_options', array() ); -
jetpack_disconnect_cap
filter/** * Filters the jetpack_disconnect capability. */ apply_filters( 'jetpack_disconnect_cap', array( 'manage_options' ) ); -
/** * Filter to hide JITMs on certain screens. */ apply_filters( 'jetpack_display_jitms_on_screen', true, $screen->id ); -
jetpack_edited_plugin
action/** * This action is documented already in this file */ do_action( 'jetpack_edited_plugin', $plugin, $plugins[ $plugin ] ); -
jetpack_enable_open_graph
filter/** * This filter is documented in * projects/plugins/jetpack/functions.opengraph.php */ apply_filters( 'jetpack_enable_open_graph', is_singular() ); -
jetpack_event_log
action/** * Fired when we want to log an event to the Jetpack event log. */ do_action( 'jetpack_event_log', 'unlink' ); -
/** * Fires before the first external storage read. */ do_action( 'jetpack_external_storage_init' ); -
/** * Fires after an external storage provider is registered. */ do_action( 'jetpack_external_storage_provider_registered', $provider ); -
/** * Fires when a specific Jetpack package feature is initalized using the Config * package. */ do_action( "jetpack_feature_{$feature}_enabled" ); -
jetpack_feature_policy
filter/** * Filters how Jetpack treats each feature on this site. */ apply_filters( 'jetpack_feature_policy', array() ); -
jetpack_force_2fa
filter/** * Filter to include Force 2FA feature. */ apply_filters( 'jetpack_force_2fa', false ); -
jetpack_force_2fa_cap
filter/** * Filter the role to force 2FA for. Defaults to manage_options. */ apply_filters( 'jetpack_force_2fa_cap', 'manage_options' ); -
/** * Filter if an admin notice is deplayed when Force 2FA is required, but SSO is * not enabled. Defaults to true. */ apply_filters( 'jetpack_force_2fa_dependency_notice', true ); -
/** * Filter the login error message. Defaults to a message that explains the user * must use a WordPress.com account with 2FA enabled. */ apply_filters( 'jetpack_force_2fa_login_error_message', sprintf( 'For added security, please log in using your WordPress.com account.<br /><br />Note: Your account must have <a href="%1$s" target="_blank">Two Step Authentication</a> enabled, which can be configured from <a href="%2$s" target="_blank">Security Settings</a>.', 'https://support.wordpress.com/security/two-step-authentication/', 'https://wordpress.com/me/security/two-step' ) ); -
jetpack_full_sync_callables
action/** * Tells the client to sync all callables to the server */ do_action( 'jetpack_full_sync_callables', true ); -
jetpack_full_sync_constants
action/** * Tells the client to sync all constants to the server */ do_action( 'jetpack_full_sync_constants', true ); -
/** * Tells the client to sync all options to the server */ do_action( 'jetpack_full_sync_network_options', true ); -
jetpack_full_sync_options
action/** * Tells the client to sync all options to the server */ do_action( 'jetpack_full_sync_options', true ); -
jetpack_full_sync_theme_data
action/** * Tells the client to sync all theme data to the server */ do_action( 'jetpack_full_sync_theme_data', true ); -
jetpack_full_sync_updates
action/** * Tells the client to sync all updates to the server */ do_action( 'jetpack_full_sync_updates', true ); -
/** * Filters the array of modules available to be activated. */ apply_filters( 'jetpack_get_available_modules', $modules, $min_version, $max_version, $requires_connection, $requires_user_connection ); -
/** * Stand alone plugins need to use this filter to register the modules they * interact with. This will allow them to activate and deactivate these modules * even when Jetpack is not present. Note: Standalone plugins can only interact * with modules that also exist in the Jetpack plugin, otherwise they'll lose * the ability to control it if Jetpack is activated. */ apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection ); -
/** * Filters the URL for a file passed through the get_file_url_for_environment * function. */ apply_filters( 'jetpack_get_file_for_environment', $url, $min_path, $non_min_path ); -
jetpack_get_module
filter/** * Filter the returned data about a module. */ apply_filters( 'jetpack_get_module', $mod, $module, $file ); -
jetpack_get_module_path
filter/** * Filters the path of a modules. */ apply_filters( 'jetpack_get_module_path', JETPACK__PLUGIN_DIR . "modules/$slug.php", $slug ); -
/** * Fires when the site data was successfully returned from the /sites/%d wpcom * endpoint. */ do_action( 'jetpack_get_site_data_success' ); -
jetpack_has_login_ability
filter/** * Filter which provides Jetpack's decision as to whether the current requestor * can attempt logging in. */ apply_filters( 'jetpack_has_login_ability', $this->has_login_ability_fallback() ); -
jetpack_heartbeat
action/** * Fires when we synchronize all registered options on heartbeat. */ do_action( 'jetpack_heartbeat' ); -
/** * This filter is used to build the array of stats that are bumped once a day * by Jetpack Heartbeat. */ apply_filters( 'jetpack_heartbeat_stats_array', array(), $prefix ); -
jetpack_i18n_state
filter/** * Filters the i18n state data for use by Webpack bundles built with * `@automattic/i18n-loader-webpack-plugin`. */ apply_filters( 'jetpack_i18n_state', $data ); -
/** * Filters the connection url that users should be redirected to for * re-establishing their connection. */ apply_filters( 'jetpack_idc_authorization_url', rest_ensure_response( $connection->get_authorization_url( null, $redirect_uri ) ) ); -
jetpack_idc_disconnect
action/** * Fires when Users have requested through Identity Crisis for the connection * to be reset. Should be used to disconnect any connections and reset options. */ do_action( 'jetpack_idc_disconnect' ); -
/** * Action called after initializing Identity Crisis UI. */ do_action( 'jetpack_identity_crisis_ui_init' ); -
/** * Filters the image URL used after dimensions are set by Photon. */ apply_filters( 'jetpack_images_fit_image_url_override', $src, $width, $height ); -
jetpack_images_get_images
filter/** * Filters the array of images that would be good for a specific post. This * filter is applied after options ($args) filter the original array. */ apply_filters( 'jetpack_images_get_images', $media, $post_id, $args ); -
/** * Filters the array of images that would be good for a specific post. This * filter is applied before options ($args) filter the original array. */ apply_filters( 'jetpack_images_pre_get_images', $media, $post_id, $args ); -
jetpack_installed_theme
action/** * Signals to the sync listener that a theme was installed and a sync action * reflecting the installation and the theme info should be sent */ do_action( 'jetpack_installed_theme', $theme->stylesheet, $theme_info ); -
jetpack_is_coming_soon
filter/** * Filters the is_coming_soon check. */ apply_filters( 'jetpack_is_coming_soon', $is_coming_soon ); -
jetpack_is_development_site
filter/** * Filters is_development_site check. */ apply_filters( 'jetpack_is_development_site', $is_dev_site ); -
jetpack_is_frontend
filter/** * Filter whether the current request is for accessing the frontend. */ apply_filters( 'jetpack_is_frontend', $is_frontend, $send_vary_headers ); -
jetpack_is_in_safe_mode
filter/** * Filters in_safe_mode check. */ apply_filters( 'jetpack_is_in_safe_mode', $in_safe_mode ); -
jetpack_is_local_site
filter/** * Filters is_local_site check. */ apply_filters( 'jetpack_is_local_site', $is_local ); -
jetpack_is_private_site
filter/** * Filters the is_private_site check. */ apply_filters( 'jetpack_is_private_site', $is_private_site ); -
jetpack_is_staging_site
filter/** * Filters is_staging_site check. */ apply_filters( 'jetpack_is_staging_site', $is_staging ); -
/** * Allow adding your own custom JITMs after a set of JITMs has been received. */ apply_filters( 'jetpack_jitm_received_envelopes', $envelopes, $message_path ); -
/** * Filter to force display the new Woo logo in Woo JITM's, or not. */ apply_filters( 'jetpack_jitm_use_new_woo_logo', $show_new_logo ); -
jetpack_just_in_time_msgs
filter/** * Filter to turn off all just in time messages */ apply_filters( 'jetpack_just_in_time_msgs', true ); -
jetpack_known_staging
filter/** * Filters the flags of known staging sites. */ apply_filters( 'jetpack_known_staging', $known_staging ); -
jetpack_licensing_ui_enabled
filter/** * Filter that checks if the user is allowed to see the Licensing UI. `true` * enables it. */ apply_filters( 'jetpack_licensing_ui_enabled', false ); -
/** * Signals to the sync listener that this comment's contents were modified and * a sync action reflecting the change(s) to the content should be sent */ do_action( 'jetpack_modified_comment_contents', $new_comment['comment_ID'], $changes ); -
jetpack_module_feature
filter/** * Filters the feature array on a module. */ apply_filters( 'jetpack_module_feature', $mod['feature'], $module, $mod ); -
/** * Filters which items appear on the My Jetpack Features page. */ apply_filters( 'jetpack_my_jetpack_feature_visibility', array() ); -
/** * Enable local Features data and entry in offline mode. */ apply_filters( 'jetpack_my_jetpack_offline_features', false ); -
/** * Filters whether My Jetpack shows Overview v1. */ apply_filters( 'jetpack_my_jetpack_overview_v1', false ); -
/** * Acts as a feature flag, returning a boolean for whether we should show the * licensing UI. */ apply_filters( 'jetpack_my_jetpack_should_enable_add_license_screen', $is_enabled ); -
/** * Allows filtering whether My Jetpack should be initialized. Outside REST * requests, once the user is set, this cannot enable offline Features for a * user without access. */ apply_filters( 'jetpack_my_jetpack_should_initialize', $should ); -
/** * Trigger action to alert $callable sync listener that network themes were * disabled. */ do_action( 'jetpack_network_disabled_themes', $newly_disabled_themes, $all_enabled_theme_slugs ); -
/** * Trigger action to alert $callable sync listener that network themes were * enabled */ do_action( 'jetpack_network_enabled_themes', $newly_enabled_themes, $all_enabled_theme_slugs ); -
jetpack_on_posts_list_init
action/** * Action called after initializing Post_List Admin resources. */ do_action( 'jetpack_on_posts_list_init' ); -
/** * This filter is documented in * projects/plugins/jetpack/functions.opengraph.php */ apply_filters( 'jetpack_open_graph_fallback_description', __( 'Visit the post for more.', 'jetpack-social' ), $data ); -
/** * This filter is documented in * projects/plugins/jetpack/functions.opengraph.php */ apply_filters( 'jetpack_open_graph_image_height', 200 ); -
/** * This filter is documented in * projects/plugins/jetpack/functions.opengraph.php */ apply_filters( 'jetpack_open_graph_image_width', 200 ); -
jetpack_open_graph_tags
filter/** * This filter is documented in * projects/plugins/jetpack/functions.opengraph.php */ apply_filters( 'jetpack_open_graph_tags', $tags, compact( 'image_width', 'image_height' ) ); -
jetpack_options
filter/** * Filter Jetpack Options. Can be useful in environments when Jetpack is * running with a different setup */ apply_filters( 'jetpack_options', self::get_option_from_database( $name, $default ), $name ); -
/** * Allow for plugins to register supported products. */ apply_filters( 'jetpack_partner_coupon_products', array() ); -
/** * Allow external code to add additional supported partners. */ apply_filters( 'jetpack_partner_coupon_supported_partners', self::$supported_partners ); -
/** * Allow external code to add additional supported presets. */ apply_filters( 'jetpack_partner_coupon_supported_presets', self::$supported_presets ); -
/** * Allow to filter the partner subsidiary id. */ apply_filters( 'jetpack_partner_subsidiary_id', get_option( 'jetpack_partner_subsidiary_id', '' ) ); -
/** * Provide plugins a way of running Photon for images in the WordPress * Dashboard (wp-admin). */ apply_filters( 'jetpack_photon_admin_allow_image_downsize', false, compact( 'image', 'attachment_id', 'size' ) ); -
/** * Allow Photon to use query strings as well. By default, Photon doesn't * support query strings so we ignore them and look only at the path. This * setting is Photon Server dependent. */ apply_filters( 'jetpack_photon_any_extension_for_domain', false, $image_url_parts['host'] ); -
/** * Disables Photon URL processing for local development */ apply_filters( 'jetpack_photon_development_mode', ( new Status() )->is_offline_mode() ); -
/** * Filter the Photon Arguments added to an image when going through Photon, * when the image size is an array of height and width values. */ apply_filters( 'jetpack_photon_image_downsize_array', $photon_args, compact( 'width', 'height', 'image_url', 'attachment_id' ) ); -
/** * Filter the Photon Arguments added to an image when going through Photon, * when that image size is a string. Image size will be a string (e.g. "full", * "medium") when it is known to WordPress. */ apply_filters( 'jetpack_photon_image_downsize_string', $photon_args, compact( 'image_args', 'image_url', 'attachment_id', 'size', 'transform' ) ); -
/** * Filter whether an image using an attachment ID in its class has to be * uploaded to the local site to go through Photon. */ apply_filters( 'jetpack_photon_image_is_local', false, compact( 'src', 'tag', 'images', 'index' ) ); -
jetpack_photon_noresize_mode
filter/** * Allow Photon to disable uploaded images resizing and use its own resize * capabilities instead. */ apply_filters( 'jetpack_photon_noresize_mode', false ); -
/** * Provide plugins a way of preventing Photon from being applied to images * retrieved from WordPress Core. */ apply_filters( 'jetpack_photon_override_image_downsize', false, compact( 'image', 'attachment_id', 'size' ) ); -
/** * Filter the array of Photon arguments added to an image when it goes through * Photon. By default, only includes width and height values. */ apply_filters( 'jetpack_photon_post_image_args', $args, compact( 'tag', 'src', 'src_orig', 'width', 'height', 'width_orig', 'height_orig', 'transform', 'transform_orig' ) ); -
jetpack_photon_pre_args
filter/** * Filter the original Photon image parameters before Photon is applied to an * image. */ apply_filters( 'jetpack_photon_pre_args', $args, $image_url, $scheme ); -
jetpack_photon_pre_image_url
filter/** * Filter the original image URL before it goes through Photon. */ apply_filters( 'jetpack_photon_pre_image_url', $image_url, $args, $scheme ); -
jetpack_photon_reject_https
filter/** * Allow Photon to fetch images that are served via HTTPS. */ apply_filters( 'jetpack_photon_reject_https', false ); -
jetpack_photon_skip_for_url
filter/** * Allow specific image URls to avoid going through Photon. */ apply_filters( 'jetpack_photon_skip_for_url', false, $image_url, $args, $scheme ); -
/** * Filter the multiplier Photon uses to create new srcset items. Return false * to short-circuit and bypass auto-generation. */ apply_filters( 'jetpack_photon_srcset_multipliers', array( 2, 3 ) ); -
jetpack_photon_url
filter/** * Filters the site icon using Photon. */ apply_filters( 'jetpack_photon_url', get_site_icon_url(), array( 'w' => 64 ) ); -
jetpack_plugin_installed
action/** * Signals to the sync listener that a plugin was installed and a sync action * reflecting the installation and the plugin info should be sent. */ do_action( 'jetpack_plugin_installed', $this->plugins_installed ); -
jetpack_plugin_update_failed
action/** * Sync that a plugin update failed */ do_action( 'jetpack_plugin_update_failed', $failure['plugin'], $failure['code'], $failure['message'], $failure['state'] ); -
jetpack_plugins_updated
action/** * Sync that a plugin update */ do_action( 'jetpack_plugins_updated', $this->plugins_updated, $this->state ); -
/** * Filter the maximum dimension allowed for a thumbnail image. The default * value is 1200 pixels. */ apply_filters( 'jetpack_post_images_max_thumbnail_dimension', 1200 ); -
/** * Used for syncing deletion of batch post meta */ do_action( 'jetpack_post_meta_batch_delete', $chunk, '_feedback_akismet_values' ); -
/** * Filters the switch to ignore minimum image size requirements. Can be used to * add custom logic to image dimensions, like only enforcing one of the * dimensions, or disabling it entirely. */ apply_filters( 'jetpack_postimages_ignore_minimum_dimensions', false, $meta ); -
/** * Fires after we find a single good image for a specific post. */ do_action( 'jetpack_postimages_post_get_image', $post_id ); -
/** * Fires before we find a single good image for a specific post. */ do_action( 'jetpack_postimages_pre_get_image', $post_id ); -
jetpack_pre_activate_module
action/** * Fires before a module is activated. */ do_action( 'jetpack_pre_activate_module', $module, $exit, $redirect ); -
jetpack_pre_connection_jitms
filter/** * Allows filtering of the pre-connection JITMs. */ apply_filters( 'jetpack_pre_connection_jitms', array() ); -
/** * Fires when a module is deactivated. */ do_action( 'jetpack_pre_deactivate_module', $module ); -
jetpack_pre_register
filter/** * Action fired when the user attempts the registration. */ apply_filters( 'jetpack_pre_register', null ); -
/** * Filter the public script data. */ apply_filters( 'jetpack_public_js_script_data', $data ); -
/** * Filter the capability to change global Publicize connection options. */ apply_filters( 'jetpack_publicize_global_connections_cap', $this->GLOBAL_CAP ); -
/** * Filters the flag to decide whether to load the Publicize module. */ apply_filters( 'jetpack_publicize_should_load', $should_load ); -
jetpack_published_post
action/** * Action that gets synced when a post type gets published. */ do_action( 'jetpack_published_post', $post_ID, $flags, $post ); -
jetpack_published_post_flags
filter/** * Filter that is used to add to the post flags ( meta data ) when a post gets * published */ apply_filters( 'jetpack_published_post_flags', $post_flags, $post ); -
/** * Fired when the remote request response has been received. */ do_action( 'jetpack_received_remote_request_response', $response ); -
/** * Action fired when reconnection has completed successfully. */ do_action( 'jetpack_reconnection_completed' ); -
/** * Filters the request body for additional property addition. */ apply_filters( 'jetpack_register_request_body', array_merge( array( 'siteurl' => Urls::site_url(), 'home' => Urls::home_url(), 'gmt_offset' => $gmt_offset, 'timezone_string' => (string) get_option( 'timezone_string' ), 'site_name' => (string) get_option( 'blogname' ), 'secret_1' => $secrets['secret_1'], 'secret_2' => $secrets['secret_2'], 'site_lang' => get_locale(), 'timeout' => $timeout, 'stats_id' => $stats_id, 'state' => get_current_user... ); -
/** * Filters the response of jetpack/v4/connection/register endpoint */ apply_filters( 'jetpack_register_site_rest_response', array() ); -
/** * Acton fired when the master user has revoked their agreement to the terms of * service. */ do_action( 'jetpack_reject_terms_of_service' ); -
jetpack_remote_connect_end
action/** * Hook fired at the end of the jetpack.remoteConnect XML-RPC callback */ do_action( 'jetpack_remote_connect_end' ); -
jetpack_remote_request_url
filter/** * Filters the remote request url. */ apply_filters( 'jetpack_remote_request_url', $args['url'] ); -
/** * Filters the response of the remote_provision XMLRPC method */ apply_filters( 'jetpack_remote_xmlrpc_provision_response', $response, $request, $user ); -
jetpack_remove_login_form
filter/** * Remove the default log in form, only leave the WordPress.com log in button. */ apply_filters( 'jetpack_remove_login_form', get_option( 'jetpack_sso_remove_login_form', false ) ); -
/** * Fires when a user is removed from a blog on a multisite installation */ do_action( 'jetpack_removed_user_from_blog', $user_id, $reassigned_user_id ); -
/** * Filters the successful response of the REST API test_connection method */ apply_filters( 'jetpack_rest_connection_check_response', 'success' ); -
/** * Whether to add the X Debug query parameter to the request made to the * Sandbox */ apply_filters( 'jetpack_sandbox_add_profile_parameter', false, $url, $host ); -
jetpack_server_sandbox_init
action/** * Fires when the server sandbox is initialized. This action is used to ensure * that the server sandbox action hooks are set up only once. */ do_action( 'jetpack_server_sandbox_init' ); -
jetpack_set_tracks_ajax_hook
action/** * Fires when the Tracking::ajax_tracks() callback has been hooked to the * wp_ajax_jetpack_tracks action. This action is used to ensure that the * callback is hooked only once. */ do_action( 'jetpack_set_tracks_ajax_hook' ); -
jetpack_should_handle_idc
filter/** * Allows sites to opt in for IDC mitigation which blocks the site from syncing * to WordPress.com when the home URL or site URL do not match what * WordPress.com expects. The default value is either true, or the value of * JETPACK_SHOULD_HANDLE_IDC constant if set. */ apply_filters( 'jetpack_should_handle_idc', $default ); -
/** * Action for additional token checking. */ apply_filters( 'jetpack_signature_check_token', array( 'type' => $token_type, 'token_key' => $token_key, 'user_id' => $token->external_user_id, ), $token, $this->raw_post_data ); -
/** * Fires before a site is disconnected. */ do_action( 'jetpack_site_before_disconnected' ); -
jetpack_site_data_fetched
action/** * Fires after the site record was served, whether it was fetched or read from * the cache. */ do_action( 'jetpack_site_data_fetched', json_decode( $result['body'], true ) ); -
jetpack_site_disconnected
action/** * Fires when a site is disconnected. */ do_action( 'jetpack_site_disconnected' ); -
jetpack_site_registered
action/** * Fires when a site is registered on WordPress.com. */ do_action( 'jetpack_site_registered', $registration_details->jetpack_id, $registration_details->jetpack_secret, $jetpack_public ); -
/** * Fires when a user token is sent along with the registration data. */ do_action( 'jetpack_site_registered_user_token', $registration_details->token ); -
/** * Skips the usuable domain check when connecting a site. */ apply_filters( 'jetpack_skip_usuable_domain_check', false ); -
/** * Filters the blocks available to the Social Notes CPT. */ apply_filters( 'jetpack_social_allowed_blocks', $allowed_blocks ); -
/** * Filter to disable the text overlay on Social Image Generator templates. */ apply_filters( 'jetpack_social_image_generator_disable_text', false, $this->post_id ); -
/** * Filters the default title for a Social Note. */ apply_filters( 'jetpack_social_notes_default_title', $title, $post ); -
/** * Filters whether to override the empty title for Social Notes on the * frontend. */ apply_filters( 'jetpack_social_notes_override_empty_title', false ); -
jetpack_sso_accept_wpcom_2fa
filter/** * Filter whether to accept WordPress.com 2FA in place of a local Two-Factor * prompt during SSO login. */ apply_filters( 'jetpack_sso_accept_wpcom_2fa', true, $user_data, $user ); -
jetpack_sso_allowed_actions
filter/** * Allows plugins the ability to overwrite actions where the SSO form is * allowed to be used. */ apply_filters( 'jetpack_sso_allowed_actions', array( 'login', 'jetpack-sso', 'jetpack_json_api_authorization', 'entered_recovery_mode', ) ); -
/** * Determines how many times the SSO module can attempt to randomly generate a * user. */ apply_filters( 'jetpack_sso_allowed_username_generate_retries', 5 ); -
/** * Determines how long the auth cookie is valid for when a user logs in with * SSO. */ apply_filters( 'jetpack_sso_auth_cookie_expiration', YEAR_IN_SECONDS ); -
/** * Redirect the site's log in form to WordPress.com's log in form. */ apply_filters( 'jetpack_sso_bypass_login_forward_wpcom', false ); -
/** * Display the SSO login form as the default when both the default and SSO * login forms are enabled. */ apply_filters( 'jetpack_sso_default_to_sso_login', true ); -
/** * Filters the disallowed notice for sites in safe mode attempting SSO. */ apply_filters( 'jetpack_sso_disallowed_safe_mode_notice', $error ); -
/** * Filter the message displayed when the default WordPress login form is * disabled. */ apply_filters( 'jetpack_sso_disclaimer_message', $msg ); -
/** * Filter the display of the disclaimer message appearing when default * WordPress login form is disabled. */ apply_filters( 'jetpack_sso_display_disclaimer', true ); -
jetpack_sso_handle_login
action/** * Fires after we got login information from WordPress.com. */ do_action( 'jetpack_sso_handle_login', $user, $user_data ); -
/** * Toggle the ability to invite new users to create a WordPress.com account. */ apply_filters( 'jetpack_sso_invite_new_users_wpcom', true ); -
/** * Allow extension above Jetpack's SSO form. */ do_action( 'jetpack_sso_login_form_above_wpcom' ); -
/** * Allow extension below Jetpack's SSO form. */ do_action( 'jetpack_sso_login_form_below_wpcom' ); -
/** * Filter the messeage displayed below the SSO button. */ apply_filters( 'jetpack_sso_login_form_explanation_text', sprintf( __( 'You can now save time spent logging in by connecting your WordPress.com account to %s.', 'jetpack-connection' ), esc_html( $site_name ) ) ); -
jetpack_sso_match_by_email
filter/** * Link the local account to an account on WordPress.com using the same email * address. */ apply_filters( 'jetpack_sso_match_by_email', $match_by_email ); -
/** * Allow users to register on your site with a WordPress.com account, even * though you disallow normal registrations. If you return a string that * corresponds to a user role, the user will be given that role. */ apply_filters( 'jetpack_sso_new_user_override', $new_user_override, $user_data ); -
jetpack_sso_pre_handle_login
action/** * Fires before Jetpack's SSO modifies the log in form. */ do_action( 'jetpack_sso_pre_handle_login', $user_data ); -
jetpack_sso_require_two_step
filter/** * Is it required to have 2-step authentication enabled on WordPress.com to use * SSO? */ apply_filters( 'jetpack_sso_require_two_step', get_option( 'jetpack_sso_require_two_step', false ) ); -
/** * Filters the "couldn't find your account" notice after an attempted SSO. */ apply_filters( 'jetpack_sso_unknown_user_notice', $error ); -
jetpack_stats_base_url
filter/** * Filter the URL used as the Stats tracking pixel. */ apply_filters( 'jetpack_stats_base_url', 'https://pixel.wp.com/' . $gifname ); -
/** * Add an action hook to execute when anything on the whitelist gets sent to * the queue to sync. */ do_action( 'jetpack_sync_action_before_enqueue' ); -
jetpack_sync_actor_data
filter/** * Filters the actor data attached to sync events. */ apply_filters( 'jetpack_sync_actor_data', $actor ); -
jetpack_sync_actor_user_data
filter/** * Allow or deny sending actor's user data ( IP and UA ) during a sync event */ apply_filters( 'jetpack_sync_actor_user_data', $should_send, $current_filter ); -
/** * Fires when the required settings have been adding to the static * data_settings array. */ do_action( 'jetpack_sync_add_required_data_settings' ); -
jetpack_sync_add_term
action/** * Fires when the client needs to add a new term */ do_action( 'jetpack_sync_add_term', $term_object ); -
jetpack_sync_add_user
action/** * Fires when a user is added on a site */ do_action( 'jetpack_sync_add_user', $user_id, $this->get_flags( $user_id ) ); -
/** * Modify or reject the data within an action before it is enqueued locally. */ apply_filters( "jetpack_sync_before_enqueue_{$action_name}", $args ); -
/** * Modify or reject the data within an action before it is enqueued locally. */ apply_filters( "jetpack_sync_before_enqueue_{$current_filter}", $args ); -
/** * Modify the data within an action before it is serialized and sent to the * server For example, during full sync this expands Post ID's into full Post * objects, so that we don't have to serialize the whole object into the queue. */ apply_filters( "jetpack_sync_before_send_{$item[0]}", $item[1], $item[2] ); -
jetpack_sync_callable
action/** * Tells the client to sync a callable (aka function) to the server */ do_action( 'jetpack_sync_callable', $name, $value ); -
/** * Filter the list of capabilities that we care about */ apply_filters( 'jetpack_sync_capabilities_whitelist', self::$default_capabilities_whitelist ); -
/** * Filter the list of comment meta data that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_comment_meta_whitelist', self::$comment_meta_whitelist ); -
jetpack_sync_constant
action/** * Tells the client to sync a constant to the server */ do_action( 'jetpack_sync_constant', $name, $value ); -
/** * Filter the list of PHP constants that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_constants_whitelist', self::$default_constants_whitelist ); -
/** * Sync event that fires when core autoupdate was successful */ do_action( 'jetpack_sync_core_autoupdated_successfully', $new_wp_version, $this->old_wp_version ); -
/** * Sync event that fires when core reinstall was successful */ do_action( 'jetpack_sync_core_reinstalled_successfully', $new_wp_version ); -
/** * Sync event for when core wp network updates to a new db version */ do_action( 'jetpack_sync_core_update_network', $wp_db_version, $old_wp_db_version, $wp_version ); -
/** * Sync event that fires when core update was successful */ do_action( 'jetpack_sync_core_updated_successfully', $new_wp_version, $this->old_wp_version ); -
/** * Allows overriding the offset that the sync cron jobs will first run. This * can be useful when scheduling cron jobs across multiple sites in a network. */ apply_filters( 'jetpack_sync_cron_start_time_offset', $start_time_offset, $hook, $schedule ); -
/** * Fires when the client needs to sync theme support info */ do_action( 'jetpack_sync_current_theme_support', $this->get_theme_info(), $previous_theme ); -
/** * Filter prevents some shortcodes from expanding. */ apply_filters( 'jetpack_sync_do_not_expand_shortcodes', array( 'gallery', 'slideshow', ) ); -
/** * Filter the order data before syncing. */ apply_filters( 'jetpack_sync_filtered_hpos_order_data', $filtered_order_data, $order_object ); -
/** * Allows overriding of the full sync cron schedule which defaults to once * every 5 minutes. */ apply_filters( 'jetpack_sync_full_sync_interval', self::DEFAULT_SYNC_CRON_INTERVAL_NAME ); -
/** * Filters the output of Sync's get_theme callable */ apply_filters( 'jetpack_sync_get_themes_callable', $themes ); -
jetpack_sync_home_url
filter/** * Allows overriding of the home_url value that is synced back to * WordPress.com. */ apply_filters( 'jetpack_sync_home_url', $url ); -
jetpack_sync_import_end
action/** * Used for syncing the end of an import */ do_action( 'jetpack_sync_import_end', $importer, $importer_name ); -
jetpack_sync_import_start
action/** * Used for syncing the start of an import */ do_action( 'jetpack_sync_import_start', $importer, $importer_name ); -
/** * Allows overriding of the default incremental sync cron schedule which * defaults to once every 5 minutes. */ apply_filters( 'jetpack_sync_incremental_sync_interval', self::DEFAULT_SYNC_CRON_INTERVAL_NAME ); -
jetpack_sync_known_importers
filter/** * Filter the list of known importers. */ apply_filters( 'jetpack_sync_known_importers', self::$default_known_importers ); -
/** * Fires on every request before default loading sync listener code. Return * false to not load sync listener code that monitors common WP actions to be * serialized. */ apply_filters( 'jetpack_sync_listener_should_load', true ); -
/** * Fires when the server receives two concurrent requests from the same blog */ do_action( 'jetpack_sync_multi_request_fail', $token ); -
jetpack_sync_non_blocking
filter/** * Filters the option to enable non-blocking sync. */ apply_filters( 'jetpack_sync_non_blocking', $non_block_enabled ); -
/** * Filter the list of WordPress options that should be synced without content */ apply_filters( 'jetpack_sync_options_contentless', self::$default_options_contentless ); -
/** * Filter the list of post meta data that are manageable via the JSON API. */ apply_filters( 'jetpack_sync_post_meta_whitelist', self::$post_meta_whitelist ); -
/** * Filters whether to prevent sending comment data to .com */ apply_filters( 'jetpack_sync_prevent_sending_comment_data', false, $comment ); -
/** * Filters whether to prevent sending post data to .com */ apply_filters( 'jetpack_sync_prevent_sending_post_data', false, $post ); -
jetpack_sync_register_user
action/** * Fires when a new user is registered on a site */ do_action( 'jetpack_sync_register_user', $user_id, $this->get_flags( $user_id ) ); -
jetpack_sync_remote_action
action/** * Fires when an action is received from a remote Jetpack site */ do_action( 'jetpack_sync_remote_action', $action_name, $args, $user_id, $silent, $timestamp, $sent_timestamp, $queue_id, $token ); -
jetpack_sync_remote_actions
action/** * Fires when an array of actions are received from a remote Jetpack site */ do_action( 'jetpack_sync_remote_actions', $events, $token ); -
/** * Fires when the client needs to sync an new attachment */ do_action( 'jetpack_sync_save_add_attachment', $attachment_id, $attachment ); -
/** * Fires when an existing attachment is added to a post for the first time */ do_action( 'jetpack_sync_save_attach_attachment', $attachment_id, $attachment_after ); -
jetpack_sync_save_post
action/** * Filter that is used to add to the post flags ( meta data ) when a post gets * published */ do_action( 'jetpack_sync_save_post', $post_ID, $post, $update, $state ); -
jetpack_sync_save_term
action/** * Fires when the client needs to update a term */ do_action( 'jetpack_sync_save_term', $term_object ); -
/** * Fires when the client needs to sync an updated attachment */ do_action( 'jetpack_sync_save_update_attachment', $attachment_id, $attachment_after ); -
/** * Filters query parameters appended to the Sync request URL sent to * WordPress.com. */ apply_filters( 'jetpack_sync_send_data_query_args', $query_args ); -
jetpack_sync_site_url
filter/** * Allows overriding of the site_url value that is synced back to * WordPress.com. */ apply_filters( 'jetpack_sync_site_url', $url ); -
/** * Comment types present in this list will be synced to WordPress.com. */ apply_filters( 'jetpack_sync_whitelisted_comment_types', self::$comment_types_whitelist ); -
/** * Fires when a WooCommerce product is deleted via wp_delete_post. */ do_action( 'jetpack_sync_woocommerce_product_deleted', $post_id ); -
/** * Fires when a WooCommerce product is trashed via wp_trash_post. */ do_action( 'jetpack_sync_woocommerce_product_trashed', $post_id ); -
/** * On WordPress.com, we can't directly check if the site has support for * WooCommerce. Having the option to override the functionality here helps with * syncing WooCommerce tables. */ apply_filters( 'jetpack_table_checksum_force_enable_woocommerce', false ); -
/** * On WordPress.com, WooCommerce runtime classes and Sync modules are not * available while comparing table checksums. This override allows the * Analytics tables to be used there. */ apply_filters( 'jetpack_table_checksum_force_enable_woocommerce_analytics', false ); -
/** * On WordPress.com, we can't directly check if the site has support for * WooCommerce HPOS tables. Having the option to override the functionality * here helps with syncing WooCommerce HPOS tables. */ apply_filters( 'jetpack_table_checksum_force_enable_woocommerce_hpos', false ); -
jetpack_token_processing_url
filter/** * Filter the URL of the first time the user gets redirected back to your site * for connection data processing. */ apply_filters( 'jetpack_token_processing_url', admin_url( 'admin.php' ) ); -
jetpack_token_redirect_url
filter/** * Filter the URL to redirect the user back to when the authentication process * is complete. */ apply_filters( 'jetpack_token_redirect_url', $redirect ); -
jetpack_token_request_body
filter/** * Filters the token request data. */ apply_filters( 'jetpack_token_request_body', array( 'client_id' => Jetpack_Options::get_option( 'id' ), 'client_secret' => $client_secret->secret, 'grant_type' => 'authorization_code', 'code' => $data['code'], 'redirect_uri' => $redirect_uri, ) ); -
/** * This action is documented in modules/sharedaddy/sharing-sources.php */ apply_filters( 'jetpack_twitter_cards_site_tag', $site_tag, $og_tags ); -
jetpack_unlinked_user
action/** * Fires after the current user has been unlinked from WordPress.com. */ do_action( 'jetpack_unlinked_user', $user_id ); -
jetpack_update_core_change
action/** * Trigger a change to core update that we want to sync. */ do_action( 'jetpack_update_core_change', $value ); -
jetpack_updated_themes
action/** * Signals to the sync listener that one or more themes was updated and a sync * action reflecting the update and the theme info should be sent */ do_action( 'jetpack_updated_themes', $themes ); -
jetpack_updated_user_token
action/** * Fires when the user token gets replaced. */ do_action( 'jetpack_updated_user_token', $user_id, $token ); -
/** * Fires when WooCommerce customer details stored in user meta are updated. */ do_action( 'jetpack_updated_woo_customer_meta', $this->build_minimal_customer_user_object( (int) $customer_id ), array_keys( $updated_props ) ); -
jetpack_user_authorized
action/** * Fires after user has successfully received an auth token. */ do_action( 'jetpack_user_authorized' ); -
/** * Jetpack authorisation request Error. */ do_action( 'jetpack_verify_api_authorization_request_error_double_encode' ); -
jetpack_verify_secrets_begin
action/** * We've begun verifying the previously generated secret. */ do_action( 'jetpack_verify_secrets_begin', $action, $user ); -
jetpack_verify_secrets_fail
action/** * Verifying of the previously generated secret has failed. */ do_action( 'jetpack_verify_secrets_fail', $action, $user, $error ); -
/** * We've succeeded at verifying the previously generated secret. */ do_action( 'jetpack_verify_secrets_success', $action, $user ); -
/** * Action for logging XMLRPC signature verification errors. This data is * sensitive. */ do_action( 'jetpack_verify_signature_error', $this->xmlrpc_verification ); -
jetpack_widget_added
action/** * Helps Sync log that a widget got added */ do_action( 'jetpack_widget_added', $sidebar, $added_widget, $sidebar_name, $added_widget_name ); -
/** * Helps Sync log that a widgets IDs got moved to in active */ do_action( 'jetpack_widget_moved_to_inactive', $moved_to_inactive_ids, $moved_to_inactive_name ); -
jetpack_widget_removed
action/** * Helps Sync log that a widgte got removed */ do_action( 'jetpack_widget_removed', $sidebar, $removed_widget, $sidebar_name, $removed_widget_name ); -
jetpack_widget_reordered
action/** * Helps Sync log that a sidebar id got reordered */ do_action( 'jetpack_widget_reordered', $sidebar, $sidebar_name ); -
jetpack_wp_login
action/** * Fires when a user is logged into a site. */ do_action( 'jetpack_wp_login', $user->ID, $user, $this->get_flags( $user->ID ) ); -
jetpack_xmlrpc_methods
filter/** * Filters the XML-RPC methods available to Jetpack for authenticated users. */ apply_filters( 'jetpack_xmlrpc_methods', $jetpack_methods, $core_methods, $this->user ); -
/** * Filters the Redirect URI returned by the remote_register XMLRPC method */ apply_filters( 'jetpack_xmlrpc_remote_register_redirect_uri', admin_url() ); -
/** * Filters the successful response of the XMLRPC test_connection method */ apply_filters( 'jetpack_xmlrpc_test_connection_response', 'success' ); -
/** * Filters the XML-RPC methods available to Jetpack for requests signed both * with a blog token or a user token. */ apply_filters( 'jetpack_xmlrpc_unauthenticated_methods', $jetpack_methods, $core_methods, $this->user ); -
/** * Filters the boot script-module dependencies for the jetpack-social-dashboard * page. */ apply_filters( 'jetpack-social-dashboard_boot_dependencies', $boot_dependencies ); -
/** * Fires when the jetpack-social-dashboard page is initialized so extensions * can register routes and menu items. */ do_action( 'jetpack-social-dashboard_init' ); -
/** * Filters the boot script-module dependencies for the * jetpack-social-dashboard-wp-admin page. */ apply_filters( 'jetpack-social-dashboard-wp-admin_boot_dependencies', $boot_dependencies ); -
/** * Fires when the jetpack-social-dashboard admin page is initialized so * extensions can register routes and menu items. */ do_action( 'jetpack-social-dashboard-wp-admin_init' ); -
/** * Fires after My Jetpack activates a product and filters the result Use this * filter to run additional routines for a product activation on stand-alone * plugins */ apply_filters( "my_jetpack_{$product_slug}_activation", $result ); -
my_jetpack_products_classes
filter/** * This filter allows plugin to override the Product class of a given product. * The new class must be a child class of the default one declared in My * Jetpack */ apply_filters( 'my_jetpack_products_classes', $classes ); -
/** * Filters the boot script-module dependencies for the my-jetpack-dashboard * page. */ apply_filters( 'my-jetpack-dashboard_boot_dependencies', $boot_dependencies ); -
my-jetpack-dashboard_init
action/** * Fires when the my-jetpack-dashboard page is initialized so extensions can * register routes and menu items. */ do_action( 'my-jetpack-dashboard_init' ); -
/** * Filters the boot script-module dependencies for the * my-jetpack-dashboard-wp-admin page. */ apply_filters( 'my-jetpack-dashboard-wp-admin_boot_dependencies', $boot_dependencies ); -
/** * Fires when the my-jetpack-dashboard admin page is initialized so extensions * can register routes and menu items. */ do_action( 'my-jetpack-dashboard-wp-admin_init' ); -
myjetpack_enqueue_scripts
action/** * Fires after the My Jetpack page is initialized. Allows for enqueuing * additional scripts only on the My Jetpack page. */ do_action( 'myjetpack_enqueue_scripts' ); -
/** * Filters the password strength enforcement settings. */ apply_filters( 'password_checker_common_passwords', $this->common_passwords ); -
/** * Filters the password strength enforcement settings. */ apply_filters( 'password_checker_minimum_entropy_bits', $this->minimum_entropy_bits ); -
/** * Filters the password strength enforcement settings. */ apply_filters( 'password_checker_minimum_password_length', $this->minimum_password_length ); -
password_checker_tests
filter/** * Filters the password strength enforcement settings. */ apply_filters( 'password_checker_tests', $tests ); -
photon_validate_image_url
filter/** * Overwrite the results of the validation steps an image goes through before * to be considered valid to be used by Photon. */ apply_filters( 'photon_validate_image_url', true, $url, $parsed_url ); -
plugin_action_links
filter/** * This filter is documented in * src/wp-admin/includes/class-wp-plugins-list-table.php */ apply_filters( 'plugin_action_links', $action_links, $plugin_file, $plugin_data, 'all' ); -
/** * This filter is documented in * src/wp-admin/includes/class-wp-plugins-list-table.php */ apply_filters( "plugin_action_links_{$plugin_file}", $action_links, $plugin_file, $plugin_data, 'all' ); -
/** * Fires before Jetpack updates a specific option. */ do_action( "pre_update_jetpack_option_{$name}", $name, $value ); -
publicize_api_url
filter/** * Filters the API URL used to interact with WordPress.com. */ apply_filters( 'publicize_api_url', 'https://public-api.wordpress.com/connect/?jetpack=publicize' ); -
publicize_checkbox_default
filter/** * Filter the checkbox state of each Publicize connection appearing in the post * editor. */ apply_filters( 'publicize_checkbox_default', $enabled, $post_id, $service_name, $connection ); -
/** * Filters the checkboxes for global connections with non-prilvedged users. */ apply_filters( 'publicize_checkbox_global_default', $enabled, $post_id, $service_name, $connection ); -
/** * Fires right after rendering the Publicize form in the Classic Editor. */ do_action( 'publicize_classic_editor_form_after' ); -
/** * Fires right before rendering the Publicize form in the Classic Editor. */ do_action( 'publicize_classic_editor_form_before' ); -
publicize_form
filter/** * Filter the Publicize details form. */ apply_filters( 'publicize_form', $publicize_form ); -
publicize_save_meta
action/** * Fires right before the post is processed for Publicize. Users may hook in * here and do anything else they need to after meta is written, and before the * post is processed for Publicize. */ do_action( 'publicize_save_meta', $submit_post, $post_id, $service_name, $connection ); -
rest_api_allowed_post_types
filter/** * This filter is already documented in class.json-api-endpoints.php */ apply_filters( 'rest_api_allowed_post_types', array( 'post', 'page', 'revision' ) ); -
/** * Filters the meta keys accessible by the REST API. */ apply_filters( 'rest_api_allowed_public_metadata', array() ); -
the_title
filter/** * This filter is documented in core/src/wp-includes/post-template.php */ apply_filters( 'the_title', $data->post_title, $data->ID ); -
/** * Filters the prefix used for order attribution meta keys. */ apply_filters( 'wc_order_attribution_tracking_field_prefix', 'wc_order_attribution_' ); -
/** * Trigger the action to sync the deletion. */ do_action( 'woocommerce_analytics_delete_reports_data', $data ); -
/** * Filter the deletion data before syncing. */ apply_filters( 'woocommerce_analytics_deletion_data', $data ); -
/** * Filter the WHERE SQL for analytics full sync */ apply_filters( 'woocommerce_analytics_full_sync_where_sql', $where, $config ); -
/** * Trigger the action to fix the order stats. The OrderStatusFixer should be * hooked to this action. */ do_action( 'woocommerce_analytics_incorrect_order_status_detected', $order_id ); -
/** * Trigger missing orders detected action. */ do_action( 'woocommerce_analytics_missing_orders_detected', $missing_order_ids ); -
/** * Filter the reports data before syncing. */ apply_filters( 'woocommerce_analytics_reports_data', $reports_data, $order ); -
/** * Filter the reports lookup data before syncing. */ apply_filters( 'woocommerce_analytics_reports_lookup_data', $report_data, $order, $object_type ); -
/** * Trigger the action to sync the reports data. */ do_action( 'woocommerce_analytics_sync_reports_data', $data ); -
wp_login
action/** * This filter is documented in core/src/wp-includes/user.php */ do_action( 'wp_login', $user->user_login, $user ); -
wp_xmlrpc_server_class
filter/** * Filters the class used for handling XML-RPC requests. */ apply_filters( 'wp_xmlrpc_server_class', 'wp_xmlrpc_server' ); -
wpas_default_message
filter/** * Filter the default Publicize message. */ apply_filters( 'wpas_default_message', $this->default_message ); -
wpas_default_prefix
filter/** * Filter the message prepended to the Publicize custom message. */ apply_filters( 'wpas_default_prefix', $this->default_prefix ); -
wpas_default_suffix
filter/** * Filter the message appended to the Publicize custom message. */ apply_filters( 'wpas_default_suffix', $this->default_suffix ); -
jetpack_is_agent
filterapply_filters( 'jetpack_is_agent', $cached_result, $user_agent ); -
apply_filters( 'jetpack_sync_checksum_allowed_tables', $this->default_tables ); -
jetpack_sync_send_data
filterapply_filters( 'jetpack_sync_send_data', $items_to_send, $this->codec->name(), microtime( true ), $queue->id, $checkout_duration, $preprocess_duration, $queue->size(), $buffer->id ); -
connection_disconnected
actiondo_action( 'connection_disconnected', $service_name ); -
apply_filters( 'jetpack_boost_api_client_class', WPCOM_Boost_API_Client::class ); -
jetpack_boost_current_url
filterapply_filters( 'jetpack_boost_current_url', $current_url ); -
apply_filters( 'jetpack_boost_excluded_query_parameters', self::PARAMS_TO_EXCLUDE ); -
apply_filters( 'jetpack_check_and_send_callables', false ); -
apply_filters( 'jetpack_client_authorize_already_authorized_url', admin_url() ); -
do_action( 'jetpack_client_authorize_error', $result ); -
apply_filters( 'jetpack_client_authorize_fallback_url', admin_url() ); -
do_action( 'jetpack_client_authorize_processing' ); -
apply_filters( 'jetpack_connection_disconnect_site_wpcom_offline_mode', false ); -
apply_filters( 'jetpack_connection_get_verified_errors', $displayable_errors, $verified_errors ); -
apply_filters( 'jetpack_connection_secret_generator', array( static::class, 'secret_callable_method' ) ); -
jetpack_explat_initialized
actiondo_action( 'jetpack_explat_initialized' ); -
jetpack_full_sync_config
filterapply_filters( 'jetpack_full_sync_config', Defaults::$default_full_sync_config ); -
jetpack_idc_consumers
filterapply_filters( 'jetpack_idc_consumers', array() ); -
jetpack_module_loaded_photon
actiondo_action( 'jetpack_module_loaded_photon' ); -
apply_filters( 'jetpack_search_ai_answers_enabled', (bool) get_option( 'jetpack_search_ai_answers_enabled', false ) ); -
apply_filters( 'jetpack_social_admin_script_data', self::get_admin_script_data(), $data ); -
apply_filters( 'jetpack_social_should_refresh_plan_data', true ); -
do_action( "jetpack_sync_before_send_queue_{$queue->id}" ); -
jetpack_sync_checksum
actiondo_action( 'jetpack_sync_checksum', $store->checksum_all() ); -
do_action( 'jetpack_valid_failed_login_attempt', $failed_attempt ); -
apply_filters( "jitm_{$envelope->content->hook}", $envelope->content ); -
jitm_{$envelope->CTA->hook}
filterapply_filters( "jitm_{$envelope->CTA->hook}", $envelope->url ); -
apply_filters( 'my_jetpack_red_bubble_notification_slugs', $red_bubble_alerts ); -
the_content
filterapply_filters( 'the_content', $post->post_content ); -
the_excerpt
filterapply_filters( 'the_excerpt', $post->post_excerpt ); -
do_action( 'woocommerce_remove_order_item_ids', $order_item_ids );
Generated from Jetpack Social's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: