You appear to be a bot. Output may be restricted
Description
Gets the id of the primary term.
Usage
$int = WPSEO_Primary_Term_Admin::get_primary_term( $taxonomy_name );
Parameters
- $taxonomy_name
- ( string ) required – Taxonomy name for the term.
Returns
int primary term id
Source
File name: wordpress-seo/admin/class-primary-term-admin.php
Lines:
1 to 5 of 5
protected function get_primary_term( $taxonomy_name ) { $primary_term = new WPSEO_Primary_Term( $taxonomy_name, $this->get_current_id() ); return $primary_term->get_primary_term(); }