Метод | Описание | |
---|---|---|
__construct ( Inpsyde_Property_List_Interface $plugin_data ) | Constructor. | |
get_remote_post_info ( integer $blog_id, WP_Post $remote_post ) : string | Status and, if available, publishing time. | |
register_meta_boxes ( string $post_type, WP_Post $post ) : void |
Метод | Описание | |
---|---|---|
get_edit_post_link ( integer $post_id, integer $blog_id, string $text = '' ) : string | Used for the metabox title. | |
get_metabox_title ( integer $blog_id, WP_Post $post, string $language ) : string | Create the title for each metabox. | |
is_post_editor ( ) : boolean | Are we on a post editor screen? | |
is_translatable_by_user ( WP_Post $post, integer $blog_id ) : boolean | Check if the current user has the appropriate capabilities to edit the given post. | |
register_metabox_per_language ( integer $blog_id, WP_Post $post ) : void | Register one box for each connected site. | |
register_metabox_view_details ( Mlp_Translation_Metabox_View $view, WP_Post $post, integer $blog_id ) : void | Register separate input fields. |
public __construct ( Inpsyde_Property_List_Interface $plugin_data ) | ||
$plugin_data | Inpsyde_Property_List_Interface |
public get_remote_post_info ( integer $blog_id, WP_Post $remote_post ) : string | ||
$blog_id | integer | |
$remote_post | WP_Post | |
Результат | string |
public register_meta_boxes ( string $post_type, WP_Post $post ) : void | ||
$post_type | string | |
$post | WP_Post | |
Результат | void |