# wordpress-seo/18.4/admin/class-admin-asset-location.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.4. 23 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.4/code/admin/class-admin-asset-location.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.4/raw/admin/class-admin-asset-location.php
- Modified: 2018-03-20T16:19:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/18.4/code/admin/class-admin-asset-location.php#L10-L20`.

```php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * Represents a way to determine an assets location.
 */
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 );
}

```
