• Resolved Epps

    (@epps)


    Hello,

    I’m trying to put a cleaner interface of events manager on my site for ease of use for the other website administrators. To do this, I was wondering if it was possible to change settings that would normally be changed in the dashboard->settings tab in code. For instance, disabling the use of categories. I know that it’s entirely possible to just get this result by changing it in the settings, but it would be nice to be able to have them set automatically with a piece of code. Any advice on how to accomplish this?

    Thanks in advance,
    Epps

    https://wordpress.org/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Hiya,

    If you take a look at the code for the settings page you should be able to see where that setting is stored so you can change it.

    Most will be stored using the WordPress Settings API.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Changing settings in code’ is closed to new replies.