New answers tagged

0

Found it; One needs to use a so-called 'whitelisted' group: register_setting("reading", "honeycomb-reading-share"); Existing option-pages seem to all have a group-name that corrsponds to their page-name.


2

You can call add_settings_section and add_settings_field any time before you do_settings_sections: add_action( 'my_plugin_add_settings_sections', function() { wp_remote_get( ... ); add_settings_section( ... ); add_settings_field( ... ); }); // On the plugin settings page output do_action( 'my_plugin_add_settings_sections' ); ...



Top 50 recent answers are included