WPSEO_Admin_Asset_SEO_Location::__construct
The plugin file to base the asset location upon.
Метод класса: WPSEO_Admin_Asset_SEO_Location{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPSEO_Admin_Asset_SEO_Location = new WPSEO_Admin_Asset_SEO_Location(); $WPSEO_Admin_Asset_SEO_Location->__construct( $plugin_file, $add_suffix );
- $plugin_file(строка) (обязательный)
- The plugin file string.
- $add_suffix(true|false)
- Whether or not a file suffix should be added.
По умолчанию:true
Код WPSEO_Admin_Asset_SEO_Location::__construct() WPSEO Admin Asset SEO Location:: construct Yoast 28.4
public function __construct( $plugin_file, $add_suffix = true ) {
$this->plugin_file = $plugin_file;
$this->add_suffix = $add_suffix;
}