You appear to be a bot. Output may be restricted
Description
Get title parts for singular entries.
Usage
$array = Genesis_SEO_Document_Title_Parts::get_singular_title_parts( $post_id );
Parameters
- $post_id
- ( int ) optional – Optional. Post ID. Default is null.
Returns
array Document title parts.
Source
File name: genesis/lib/classes/class-genesis-seo-document-title-parts.php
Lines:
1 to 22 of 22
public function get_singular_title_parts( $post_id = null ) { $supported_title_keys = [ '_genesis_title', '_aioseo_title', '_headspace_title', 'thesis_title', 'title_tag', 'title', ]; foreach ( $supported_title_keys as $key ) { if ( genesis_get_custom_field( $key, $post_id ) ) { $this->parts[ self::TITLE ] = genesis_get_custom_field( $key, $post_id ); break; } } return $this->parts; }