You appear to be a bot. Output may be restricted
Description
Retrieves HTML ID attribute.
Usage
$string = Breadcrumbs_Presenter::get_id();
Parameters
Returns
string The id attribute.
Source
File name: wordpress-seo/src/presenters/breadcrumbs-presenter.php
Lines:
1 to 19 of 19
protected function get_id() { if ( ! $this->id ) { /** * Filter: 'wpseo_breadcrumb_output_id' - Allow changing the HTML ID on the Yoast SEO breadcrumbs wrapper element. * * @api string $unsigned ID to add to the wrapper element. */ $this->id = \apply_filters( 'wpseo_breadcrumb_output_id', '' ); if ( ! \is_string( $this->id ) ) { return ''; } if ( $this->id !== '' ) { $this->id = ' id="' . \esc_attr( $this->id ) . '"'; } } return $this->id; }