Inventory_Presser_Additional_Listings_Pages::add_hooks()
Adds hooks
Return Return
(void)
Source Source
File: includes/class-additional-listings-pages.php
public function add_hooks() { add_filter( 'invp_rewrite_slugs', array( $this, 'add_rewrite_slugs' ) ); add_filter( 'invp_rewrite_rules', array( $this, 'add_rewrite_rules' ) ); add_action( 'pre_get_posts', array( $this, 'modify_query' ) ); add_filter( 'post_type_archive_title', array( $this, 'change_page_title' ), 10, 2 ); }
Expand full source codeCollapse full source codeView on Github