WPSEO_Admin_Asset_Location{}
Represents a way to determine an assets location.
Хуков нет.
Использование
$WPSEO_Admin_Asset_Location = new WPSEO_Admin_Asset_Location(); // use class methods
Методы
Код WPSEO_Admin_Asset_Location{} WPSEO Admin Asset Location{} Yoast 24.9
interface WPSEO_Admin_Asset_Location { /** * Determines the URL of the asset on the dev server. * * @param WPSEO_Admin_Asset $asset The asset to determine the URL for. * @param string $type The type of asset. Usually JS or CSS. * * @return string The URL of the asset. */ public function get_url( WPSEO_Admin_Asset $asset, $type ); }