Deprecated
This method has been deprecated.
AnsPress_Theme::the_title( string $title, string $id = null )
Description #
Filter the_title().
Parameters #
- $titlestring (Required) Current page/post title.
- $idstring (Optional) Post ID. Default value: null
Source #
File: includes/class-theme.php
public static function the_title( $title, $id = null ) { _deprecated_function( __FUNCTION__, '4.1.1' ); if ( ap_opt( 'base_page' ) == $id ) { // WPCS: loose comparison ok. remove_filter( 'the_title', [ __CLASS__, 'the_title' ] ); return ap_page_title(); } return $title; }
Expand full source code Collapse full source code View on GitHub: includes/class-theme.php:126
Add your comment