Method | Description | |
---|---|---|
get_untranslated_posts ( ) : WP_Pos\WP_Post[] | Returns all untranslated posts for the current site. | |
is_post_translated ( integer $post_id ) : boolean | Checks if the post with the given ID has been translated. | |
update_post ( integer $post_id, boolean $value ) : boolean | Updates the translation complete setting value for the post with the given ID. |
Method | Description | |
---|---|---|
update_deprecated_post_meta ( integer $post_id ) : void | Updates the meta value for the given post (i.e., deletes the deprecated key and uses the correct one). |
public get_untranslated_posts ( ) : WP_Pos\WP_Post[] | ||
return | WP_Pos\WP_Post[] | All untranslated posts for the current site. |
public is_post_translated ( integer $post_id ) : boolean | ||
$post_id | integer | Optional. Post ID. Defaults to 0. |
return | boolean | Whether or not the post with the given ID has been translated. |