Yoast\WP\SEO\Bulk_Editor\Application\Updates
Post_Access_Checker_Interface::exists
Whether the post exists.
Метод класса: Post_Access_Checker_Interface{}
Хуков нет.
Возвращает
bool. Whether the post exists.
Использование
$Post_Access_Checker_Interface = new Post_Access_Checker_Interface(); $Post_Access_Checker_Interface->exists( $post_id ): bool;
- $post_id(int) (обязательный)
- The ID of the post.
Код Post_Access_Checker_Interface::exists() Post Access Checker Interface::exists Yoast 28.9
public function exists( int $post_id ): bool;