Yoast\WP\SEO\Conditionals

User_Profile_Conditional::is_metpublicYoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

true|false. Whether or not the conditional is met.

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

$User_Profile_Conditional = new User_Profile_Conditional();
$User_Profile_Conditional->is_met();

Код User_Profile_Conditional::is_met() Yoast 26.5

public function is_met() {
	global $pagenow;

	if ( $pagenow !== 'profile.php' ) {
		return false;
	}

	return true;
}