admin_post

admin_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('admin_post') is found 1 times:

  • /wp-admin/admin-post.php line 70
    		 * Fires on an authenticated admin post request where no action is supplied.
    		 *
    		 * @since 2.6.0
    		 */
    		do_action( 'admin_post' );
    	} else {
    		// If no action is registered, return a Bad Request response.
    		if ( ! has_action( "admin_post_{$action}" ) ) {
    			wp_die( '', 400 );
    		}