AnsPress_Theme::ap_title_parts( array $title )
Description #
Filter document_title_parts.
Parameters #
- $titlearray (Required) The document title parts.
Source #
File: includes/class-theme.php
public static function ap_title_parts( $title ) { if ( is_anspress() ) { remove_filter( 'document_title_parts', array( __CLASS__, 'ap_title_parts' ) ); if ( is_question() ) { $title['title'] = ap_question_title_with_solved_prefix(); } } return $title; }
Expand full source code Collapse full source code View on GitHub: includes/class-theme.php:175
Add your comment