Метод |
Описание |
|
__construct ( ) |
|
|
_fix_ixr_null_to_string ( &$args ) |
|
|
activate ( $network_wide ) |
|
|
activated_notice ( ) |
show message after activation |
|
add_admin_actions_and_filters ( ) |
|
|
add_global_actions_and_filters ( ) |
|
|
add_js_token ( ) |
|
|
add_listener_actions_and_filters ( ) |
|
|
add_ping ( $type, $data, $hook = null ) |
|
|
add_to_jetpack_options_whitelist ( array $options ) : array |
Add the VaultPress options to the Jetpack options management whitelist. |
|
add_vp_required_filters ( ) |
|
|
add_woocommerce_actions ( ) |
|
|
admin_head ( ) |
|
|
admin_init ( ) |
|
|
admin_menu ( ) |
|
|
ai_ping_count ( ) |
|
|
ai_ping_get ( $num = 1, $order = 'ASC' ) |
|
|
ai_ping_insert ( $value ) |
|
|
ai_ping_next ( ) : integer | false |
Use an option ID to ensure a unique ping ID for the site. |
|
authenticate ( $user, $username, $password ) |
|
|
block_change_handler ( $table, $query ) |
|
|
can_use_openssl ( ) |
|
|
check_connection ( $force_check = false ) |
|
|
check_firewall ( ) |
|
|
clear_connection ( ) |
|
|
comment_action_handler ( $comment_id ) |
Handle Notifying VaultPress of Comment Activity |
|
commentmeta_insert_handler ( $meta_id, $comment_id = null ) |
Handle Notifying VaultPress of Commentmeta Changes |
|
commentmeta_modification_handler ( $meta_id, $object_id, $meta_key, $meta_value ) |
|
|
connect_notice ( ) |
show message if plugin is activated but not connected to VaultPress |
|
contact_service ( $action, $args = [] ) |
|
|
deactivate ( ) |
|
|
delete_option ( $key ) |
|
|
do_c_block_firewall ( ) |
|
|
do_pings ( ) |
|
|
error_notice ( ) |
|
|
generic_change_handler ( $table, $key ) |
|
|
get_config ( $key ) |
|
|
get_jetpack_email ( ) |
|
|
get_last_table ( ) |
Emulate $wpdb->last_table |
|
get_login_tokens ( ) |
|
|
get_messages ( $force_reload = false ) |
get any messages from the VP servers |
|
get_option ( $key ) |
|
|
get_option_name_ignore ( $return_defaults = false ) |
Option name patterns to ignore |
|
get_post_meta_name_ignore ( $return_defaults = false ) |
post meta name patterns to ignore |
|
get_should_ignore_files ( $return_defaults = false ) |
file name patterns to ignore |
|
get_table_from_query ( $q ) |
Emulate hyperdb::get_table_from_query() |
|
init ( ) |
|
|
ip_in_cidr ( $ip, $cidr ) |
|
|
ip_in_cidrs ( $ip, $cidrs ) |
|
|
is_localhost ( ) |
|
|
is_main_site ( ) |
|
|
is_multisite ( ) |
|
|
is_registered ( ) |
|
|
is_write_query ( $q ) |
Emulate hyperdb::is_write_query() |
|
link_action_handler ( $link_id ) |
Handle Notifying VaultPress of Link Changes |
|
load_first ( $value ) |
|
|
load_menu ( ) |
|
|
option_handler ( $option_name ) |
means that we do not need to resolve an id like we would for, say, a post. |
|
parse_request ( $wp ) |
|
|
plugin_action_handler ( $plugin = '' ) |
Handle Notifying VaultPress of Plugin Activation/Deactivation |
|
post_action_handler ( $post_id ) |
Handle Notifying VaultPress of Post Changes |
|
postmeta_action_handler ( $meta_id, $post_id = null, $meta_key = null ) |
Handle Notifying VaultPress of PostMeta changes via old school cherypicked hooks |
|
postmeta_insert_handler ( $meta_id, $post_id, $meta_key, $meta_value = '' ) |
Handle Notifying VaultPress of PostMeta changes via newfangled metadata functions |
|
postmeta_modification_handler ( $meta_id, $object_id, $meta_key, $meta_value ) |
|
|
record_table ( $table ) |
Emulate $wpdb->last_table |
|
register ( $registration_key ) |
|
|
register_via_jetpack ( ) |
|
|
request_firewall_update ( $external_services = false ) |
|
|
reset_pings ( ) |
|
|
resolve_content_dir ( ) |
|
|
resolve_upload_path ( ) |
|
|
response ( $response, $raw = false ) |
|
|
server_url ( ) |
|
|
set_object_terms_handler ( $object_id, $terms, $tt_ids ) |
Handle Notifying VaultPress of term_relationship changes |
|
sign_string ( $string, $secret, $salt ) |
|
|
site_url ( ) |
|
|
styles ( ) |
|
|
sync_jetpack_options ( ) |
Sync the VaultPress options to WordPress.com if the Jetpack plugin is active. |
|
table_notify_columns ( $table ) |
|
|
term_handler ( $term_id, $tt_id = null ) |
Handle Notifying VaultPress of term changes |
|
term_relationship_handler ( $object_id, $term_id ) |
Handle Notifying VaultPress of term_relationship changes |
|
term_relationships_handler ( $object_id, $term_ids ) |
Handle Notifying VaultPress of term_relationship changes |
|
term_taxonomies_handler ( $tt_ids ) |
Handle Notifying VaultPress of term_taxonomy changes |
|
term_taxonomy_handler ( $tt_id ) |
Handle Notifying VaultPress of term_taxonomy changes |
|
theme_action_handler ( $theme ) |
Handle Notifying VaultPress of Theme Switches |
|
toolbar ( $wp_admin_bar ) |
display a security threat notice if one exists |
|
ui ( ) |
|
|
ui_fatal_error ( ) |
|
|
ui_load ( ) |
|
|
ui_main ( ) |
|
|
ui_message ( $message, $type = 'notice', $heading = '' ) |
|
|
ui_register ( ) |
|
|
update_firewall ( ) |
|
|
update_option ( $key, $value ) |
|
|
update_options ( ) |
|
|
update_plan_settings ( $message ) |
Update local cache of VP plan settings, based on a ping or connection test result |
|
updated_auto_register_option ( mixed $old_value, mixed $value ) |
When the VaultPress auto-register option is updated, run the registration call. |
|
upgrade ( ) |
|
|
upload_handler ( $file ) |
Handle Notifying VaultPress of Upload Activity |
|
userid_action_handler ( $user_or_id ) |
Handle Notifying VaultPress of User Edits |
|
usermeta_action_handler ( $umeta_id, $user_id, $meta_key, $meta_value = '' ) |
Handle Notifying VaultPress of UserMeta changes |
|
validate_api_signature ( ) |
|
|
validate_ip_address ( $rxs ) |
|
|
verify_table ( $table ) |
|
|
woocommerce_attribute_handler ( $id ) |
|
|
woocommerce_order_item_handler ( $id ) |
|
|
woocommerce_order_item_meta_handler ( $id ) |
|
|
woocommerce_tax_rate_handler ( $id ) |
WooCommerce notifications |
|