AnsPress_Theme::ap_title( string $title )
Description #
Filter wp_title.
Parameters #
- $titlestring (Required) WP page title.
Source #
File: includes/class-theme.php
public static function ap_title( $title ) { if ( is_anspress() ) { remove_filter( 'wp_title', array( __CLASS__, 'ap_title' ) ); if ( is_question() ) { return ap_question_title_with_solved_prefix() . ' | '; } } return $title; }
Expand full source code Collapse full source code View on GitHub: includes/class-theme.php:156
Add your comment