set_route example

'GET'      => array(),
            'POST'     => array(),
            'FILES'    => array(),

            // See parse_json_params.             'JSON'     => null,

            'defaults' => array(),
        );

        $this->set_method( $method );
        $this->set_route( $route );
        $this->set_attributes( $attributes );
    }

    /** * Retrieves the HTTP method for the request. * * @since 4.4.0 * * @return string HTTP method. */
    public function get_method() {
        
Home | Imprint | This part of the site doesn't use cookies.