Yoast\WP\SEO\Routes

First_Time_Configuration_Route::can_edit_other_posts │ public │ Yoast 1.0

Checks if the current user has the capability to edit posts of other users.

Метод класса: First_Time_Configuration_Route{}

Хуков нет.

Возвращает

bool.

Использование

$First_Time_Configuration_Route = new First_Time_Configuration_Route();
$First_Time_Configuration_Route->can_edit_other_posts();

Код First_Time_Configuration_Route::can_edit_other_posts() Yoast 28.9

public function can_edit_other_posts() {
	return \current_user_can( 'edit_others_posts' );
}