PHP Class Jetpack_Sync_Module_Posts, jetpack

Inheritance: extends Jetpack_Sync_Module
显示文件 Open project: automattic/jetpack

Public Methods

Method Description
add_embed ( )
enqueue_full_sync_actions ( $config, $max_items_to_enqueue, $state )
estimate_full_sync_actions ( $config )
expand_post_ids ( $args )
expand_wp_insert_post ( $args ) Process content before send
filter_blacklisted_post_types ( $args )
filter_meta ( $args ) Meta
filter_post_content_and_add_links ( $post_object ) Expands wp_insert_post to include filtered content
get_full_sync_actions ( )
get_object_by_id ( $object_type, $id )
init_before_send ( )
init_full_sync_listeners ( $callable )
init_listeners ( $callable )
is_post_type_allowed ( $post_id )
is_whitelisted_post_meta ( $meta_key )
name ( )
remove_embed ( )
save_published ( $new_status, $old_status, $post )
send_published ( $post_ID, $post, $update )
set_defaults ( )

Private Methods

Method Description
get_where_sql ( $config )

Method Details

add_embed() public method

public add_embed ( )

enqueue_full_sync_actions() public method

public enqueue_full_sync_actions ( $config, $max_items_to_enqueue, $state )

estimate_full_sync_actions() public method

public estimate_full_sync_actions ( $config )

expand_post_ids() public method

public expand_post_ids ( $args )

expand_wp_insert_post() public method

Process content before send
public expand_wp_insert_post ( $args )

filter_blacklisted_post_types() public method

filter_meta() public method

Meta
public filter_meta ( $args )

filter_post_content_and_add_links() public method

Expands wp_insert_post to include filtered content
public filter_post_content_and_add_links ( $post_object )

get_full_sync_actions() public method

get_object_by_id() public method

public get_object_by_id ( $object_type, $id )

init_before_send() public method

public init_before_send ( )

init_full_sync_listeners() public method

public init_full_sync_listeners ( $callable )

init_listeners() public method

public init_listeners ( $callable )

is_post_type_allowed() public method

public is_post_type_allowed ( $post_id )

is_whitelisted_post_meta() public method

public is_whitelisted_post_meta ( $meta_key )

name() public method

public name ( )

remove_embed() public method

public remove_embed ( )

save_published() public method

public save_published ( $new_status, $old_status, $post )

send_published() public method

public send_published ( $post_ID, $post, $update )

set_defaults() public method

public set_defaults ( )