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.