Yoast\WP\SEO\Introductions\Domain

Introduction_Interface{}Yoast 1.0

Represents an introduction.

Хуков нет.

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

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

Методы

  1. public get_id()
  2. public get_name()
  3. public get_priority()
  4. public should_show()

Код Introduction_Interface{} Yoast 24.4

interface Introduction_Interface {

	/**
	 * Returns the ID.
	 *
	 * @return string
	 */
	public function get_id();

	/**
	 * Returns the unique name.
	 *
	 * @deprecated 21.6
	 * @codeCoverageIgnore
	 *
	 * @return string
	 */
	public function get_name();

	/**
	 * Returns the requested pagination priority. Lower means earlier.
	 *
	 * @return int
	 */
	public function get_priority();

	/**
	 * Returns whether this introduction should show.
	 *
	 * @return bool
	 */
	public function should_show();
}