For example:

    $args = array(
    'type'              => 'string',
    'description'       => '',
    'sanitize_callback' => null,
    'show_in_rest'      => true

//Job Board Settings Info
register_setting( 'jobboard-settings', 'company_name', $args );

I have trouble figuring out which route these are exposed to.


Settings are accessible through the Settings endpoint:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.