gianism_wp_members_redirect

gianism_wp_members_redirect

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_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;