WP_Filesystem_Base::wp_plugins_dir()publicWP 2.7.0

Returns the path on the remote filesystem of WP_PLUGIN_DIR.

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

Хуков нет.

Возвращает

Строку. The location of the remote path.

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

$WP_Filesystem_Base = new WP_Filesystem_Base();
$WP_Filesystem_Base->wp_plugins_dir();

Список изменений

С версии 2.7.0 Введена.

Код WP_Filesystem_Base::wp_plugins_dir() WP 6.5.2

public function wp_plugins_dir() {
	return $this->find_folder( WP_PLUGIN_DIR );
}