WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
How to set defaults on new WP MU blogs? (2 posts)

  1. monkeypunch3
    Member
    Posted 1 year ago #

    I have a WP MU site with this plugin enabled and it works fine but starts out with only one controller enabled. I need to have all of them enabled. Is there a place I can set up the defaults?

    https://wordpress.org/plugins/json-api/

  2. monkeypunch3
    Member
    Posted 1 year ago #

    I found one way to do it by using the JSON_API_CONTROLLERS global variable as mentioned here, http://wordpress.org/plugins/json-api/other_notes/#5.3.-Configuration-options.

    JSON_API_CONTROLLERS - a comma-separated list of default controllers to enable (this is overridden by the JSON API settings page)

    However this isn't reflected in the settings page. What I mean is that if I view the settings page it doesn't show the controllers as activated. This may be a bug.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic