WP_Filesystem_Base::wp_content_dir
Returns the path on the remote filesystem of WP_CONTENT_DIR.
Метод класса: WP_Filesystem_Base{}
Хуков нет.
Возвращает
Строку. The location of the remote path.
Использование
$WP_Filesystem_Base = new WP_Filesystem_Base(); $WP_Filesystem_Base->wp_content_dir();
Список изменений
| С версии 2.7.0 | Введена. |
Код WP_Filesystem_Base::wp_content_dir() WP Filesystem Base::wp content dir WP 7.0.2
public function wp_content_dir() {
return $this->find_folder( WP_CONTENT_DIR );
}