OOP Plugin and Menu – Call to undefined function register_setting()
WordPress documentation seems spotty on object-oriented code. I’m setting up a few plugins and the first should register settings and a menu page. It’s throwing “undefined” for the register_setting() or add_settings_field() calls. Should these go elsewhere? I’m not seeing the admin settings page get created either? Thanks for any help. <?php //$c = new mySettings(); … Read more