PHP Class WPSEO_Admin_Banner_Renderer, wordpress-seo

Afficher le fichier Open project: yoast/wordpress-seo Class Usage Examples

Protected Properties

Свойство Type Description
$base_path string

Méthodes publiques

Méthode Description
render ( WPSEO_Admin_Banner $banner ) : string Renders the admin banner.
set_base_path ( string $base_path ) Sets the base path, where the images are located.

Méthodes protégées

Méthode Description
get_image_path ( string $image ) : string Returns the full path for the image.

Method Details

get_image_path() protected méthode

Returns the full path for the image.
protected get_image_path ( string $image ) : string
$image string The image path.
Résultat string

render() public méthode

Renders the admin banner.
public render ( WPSEO_Admin_Banner $banner ) : string
$banner WPSEO_Admin_Banner The banner to render.
Résultat string

set_base_path() public méthode

Sets the base path, where the images are located.
public set_base_path ( string $base_path )
$base_path string The image location.

Property Details

$base_path protected_oe property

protected string $base_path
Résultat string