Yoast\WP\SEO\Surfaces\Values
Meta::__construct()
Create a meta value object.
Метод класса: Meta{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Meta = new Meta(); $Meta->__construct(;
Код Meta::__construct() Meta:: construct Yoast 22.3
public function __construct( Meta_Tags_Context $context, ContainerInterface $container ) { $this->container = $container; $this->context = $context; $this->helpers = $this->container->get( Helpers_Surface::class ); $this->replace_vars = $this->container->get( WPSEO_Replace_Vars::class ); $this->front_end = $this->container->get( Front_End_Integration::class ); }