redirect_post_location

redirect_post_location

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('redirect_post_location') is found 1 times:

  • /wp-admin/includes/post.php line 2218
    	 *
    	 * @param string $location The destination URL.
    	 * @param int    $post_id  The post ID.
    	 */
    	wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );
    	exit;
    }
    
    /**
     * Sanitizes POST values from a checkbox taxonomy metabox.
     *
    

See this hook used in plugins: