WPSEO_Plugin_Availability::is_installed()publicYoast 1.0

Checks whether or not one of the plugins is properly installed and usable.

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

Хуков нет.


true|false. Whether or not the plugin is properly installed.


$WPSEO_Plugin_Availability = new WPSEO_Plugin_Availability();
$WPSEO_Plugin_Availability->is_installed( $plugin );
$plugin(массив) (обязательный)
The information available about the plugin.

Код WPSEO_Plugin_Availability::is_installed() Yoast 22.7

public function is_installed( $plugin ) {
	if ( empty( $plugin ) ) {
		return false;

	return $this->is_available( $plugin );