gianism_wp_members_redirect
gianism_wp_members_redirect
Appears in: gianism.3.2.2, gianism.3.3.0, gianism.4.0.0, gianism.4.1.0, gianism.4.2.0, gianism.4.2.2, gianism.4.3.0, gianism.4.3.1, gianism.4.3.2, gianism.4.3.3, gianism.4.3.4, gianism.4.4.0, gianism.5.0.0, gianism.5.0.2, gianism.5.1.0, gianism.5.2.2
Hook Type: filter
Displaying hooks found in version: gianism.5.2.2apply_filters('gianism_wp_members_redirect') is found 1 times:
- /hooks/wp-members.php line 39
* @param WP_Post $post Current page's post object. * * @return bool */ $force_redirect_to_single = apply_filters( 'gianism_wp_members_redirect', ! is_page(), get_queried_object() ); if ( $force_redirect_to_single ) { $redirect = get_permalink( get_queried_object() ); } } return $redirect;