get_item example

sprintf( __( 'The %s property has an invalid stored value, and cannot be updated to null.' )$name ),
                        array( 'status' => 500 )
                    );
                }

                delete_option( $args['option_name'] );
            } else {
                update_option( $args['option_name']$request[ $name ] );
            }
        }

        return $this->get_item( $request );
    }

    /** * Retrieves all of the registered options for the Settings API. * * @since 4.7.0 * * @return array Array of registered options. */
    protected function get_registered_options() {
        $rest_options = array();

        
Home | Imprint | This part of the site doesn't use cookies.