bp_do_404, $redirect

bp_do_404, $redirect

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_do_404, $redirect') is found 1 times:

  • /bp-core/bp-core-functions.php line 2373
    	 *
    	 * @param string $redirect Redirect type used to determine if redirect_canonical
    	 *                         function should be be removed.
    	 */
    	do_action( 'bp_do_404', $redirect );
    
    	$wp_query->set_404();
    	status_header( 404 );
    	nocache_headers();
    
    	if ( 'remove_canonical_direct' === $redirect ) {