Yoast\WP\SEO\Introductions\Domain

Introduction_Interface{}interfaceYoast 1.0

Represents an introduction.

Хуков нет.

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

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

Методы

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

Код Introduction_Interface{} Yoast 27.4

interface Introduction_Interface {

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

	/**
	 * 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();
}