메소드 | 설명 | |
---|---|---|
find_post_parents ( string $post_type, integer $post_parent ) : void | ||
get_dummy_post ( string $post_type ) : WP_Post | ||
get_post_meta_to_transfer ( ) : array | ||
get_post_parent ( $blog_id ) : integer | ||
get_real_post_id ( integer $post_id ) : integer | Figure out the post ID. | |
get_real_post_type ( WP_Post $post ) : string | ||
get_remote_language ( integer $blog_id ) : string | ||
get_remote_post ( WP_Post $source_post, integer $blog_id ) : WP_Post | ||
set_linked_element ( integer $source_content_id, integer $remote_site_id, integer $remote_content_id ) : void | set the source id of the element | |
set_save_context ( array $save_context = [] ) : void | Set the context of the to-be-saved post. | |
update_remote_post_meta ( integer $remote_post_id, array $post_meta = [] ) : void | Add source post meta to remote post. |
public get_dummy_post ( string $post_type ) : WP_Post | ||
$post_type | string | |
리턴 | WP_Post |
public get_real_post_id ( integer $post_id ) : integer | ||
$post_id | integer | |
리턴 | integer |
public get_real_post_type ( WP_Post $post ) : string | ||
$post | WP_Post | |
리턴 | string |
public get_remote_language ( integer $blog_id ) : string | ||
$blog_id | integer | |
리턴 | string |
public get_remote_post ( WP_Post $source_post, integer $blog_id ) : WP_Post | ||
$source_post | WP_Post | |
$blog_id | integer | |
리턴 | WP_Post |
public set_save_context ( array $save_context = [] ) : void | ||
$save_context | array | Save context. |
리턴 | void |