WPSEO_Taxonomy_Content_Fields{}Yoast 1.0

This class parses all the values for the general tab in the Yoast SEO settings metabox.

Хуков нет.

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

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

Методы

  1. public get()

Код WPSEO_Taxonomy_Content_Fields{} Yoast 19.2

class WPSEO_Taxonomy_Content_Fields {

	/**
	 * Returns array with the fields for the general tab.
	 *
	 * @deprecated 14.9
	 * @return array
	 */
	public function get() {
		_deprecated_function( __METHOD__, '14.9', 'WPSEO_Taxonomy_Fields::get' );

		$fields = new WPSEO_Taxonomy_Fields();
		return $fields->get( 'social' );
	}
}