src/Page/Page.php
public function parsePostRoute()
    {
        if (empty($this->routes) || ! isset($this->routes['post'])) {
            return;
        }

        foreach ($this->routes['post'] as $action => $callback) {
            $this->action->add('admin_post_'.$action, $callback);
        }
    }
public function parsePostRoute()
    {
        if (empty($this->routes) || ! isset($this->routes['post'])) {
            return;
        }

        foreach ($this->routes['post'] as $action => $callback) {
            $this->action->add('admin_post_'.$action, $callback);
        }
    }
public function parsePostRoute ( ) { if ( empty ( $ this -> routes ) || ! isset ( $ this -> routes [ 'post' ] ) ) { return ; } foreach ( $ this -> routes [ 'post' ] as $ action => $ callback ) { $ this -> action -> add ( 'admin_post_' . $ action , $ callback ) ; } }
Parse page POST requests.

Note: POST requests should always target "admin-post.php"
on a custom page form.
Parse page POST requests .