Yoast\WP\SEO\Repositories

SEO_Meta_Repository{}Yoast 1.0

Class SEO_Meta_Repository.

Хуков нет.

Использование

$SEO_Meta_Repository = new SEO_Meta_Repository();
// use class methods

Методы

  1. public __construct()
  2. public query()

Код SEO_Meta_Repository{} Yoast 19.10

class SEO_Meta_Repository {

	/**
	 * SEO_Meta_Repository constructor.
	 *
	 * @deprecated 14.8
	 * @codeCoverageIgnore
	 */
	public function __construct() {
		\_deprecated_function( __METHOD__, '14.8' );
	}

	/**
	 * Starts a query for this repository.
	 *
	 * @deprecated 14.8
	 * @codeCoverageIgnore
	 *
	 * @return ORM
	 */
	public function query() {
		\_deprecated_function( __METHOD__, '14.8' );
		return Model::of_type( 'SEO_Meta' );
	}
}