• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / WPSEO_Primary_Term_Admin

Methods

1 to 17 of 17
  • WPSEO_Primary_Term_Admin::add_input_fields() – Adds hidden fields for primary taxonomies.
  • WPSEO_Primary_Term_Admin::filter_hierarchical_taxonomies() – Returns whether or not a taxonomy is hierarchical.
  • WPSEO_Primary_Term_Admin::generate_field_id() – Generates an id for a primary taxonomy’s hidden field.
  • WPSEO_Primary_Term_Admin::generate_field_name() – Generates a name for a primary taxonomy’s hidden field.
  • WPSEO_Primary_Term_Admin::generate_primary_term_taxonomies() – Generates the primary term taxonomies.
  • WPSEO_Primary_Term_Admin::get_current_id() – Gets the current post ID.
  • WPSEO_Primary_Term_Admin::get_mapped_taxonomies_for_js() – Creates a map of taxonomies for localization.
  • WPSEO_Primary_Term_Admin::get_primary_term_taxonomies() – Returns all the taxonomies for which the primary term selection is enabled.
  • WPSEO_Primary_Term_Admin::get_primary_term() – Gets the id of the primary term.
  • WPSEO_Primary_Term_Admin::include_js_templates() – Includes templates file.
  • WPSEO_Primary_Term_Admin::map_taxonomies_for_js() – Returns an array suitable for use in the javascript.
  • WPSEO_Primary_Term_Admin::map_terms_for_js() – Returns an array suitable for use in the javascript.
  • WPSEO_Primary_Term_Admin::primary_term_field() – Generates the HTML for a hidden field for a primary taxonomy.
  • WPSEO_Primary_Term_Admin::register_hooks() – Constructor.
  • WPSEO_Primary_Term_Admin::save_primary_term() – Saves the primary term for a specific taxonomy.
  • WPSEO_Primary_Term_Admin::save_primary_terms() – Saves all selected primary terms.
  • WPSEO_Primary_Term_Admin::wp_footer() – Adds primary term templates.

Extended by

Class name: WPSEO_Primary_Term_Admin
Plugin ref: Yoast SEO
Version: 20.2.1
Sourcefile: admin/class-primary-term-admin.php
File ref: admin/class-primary-term-admin.php
API Letters: A,P,T,W

Published: 27th November 2019 | Last updated: 22nd February 2021

Primary Sidebar

Information

Class name: WPSEO_Primary_Term_Admin
Plugin ref: Yoast SEO
Version: 20.2.1
Sourcefile: admin/class-primary-term-admin.php
File ref: admin/class-primary-term-admin.php
API Letters: A,P,T,W

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites