Deprecated

This method has been deprecated.

AnsPress_Hooks::filter_page_title( Object $post )

Description #

Append variable to post Object.

Parameters #

  • $post
    Object (Required) Post object.

Changelog #

VersionDescription
4.1.1Introduced.

Source #

File: includes/hooks.php

	public static function filter_page_title( $post ) {
		if ( ap_opt( 'base_page' ) == $post->ID && ! is_admin() ) {
			$post->post_title = ap_page_title();
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment