Yoast\WP\SEO\Conditionals

User_Profile_Conditional::is_met │ public │ Yoast 1.0

Returns whether or not this conditional is met.

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

Хуков нет.

Возвращает

bool. 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 28.9

public function is_met() {
	global $pagenow;

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

	return true;
}