get_option / wp_localize_script Not Working in OOP Plug In
The second parameter for register_setting() is the database option name which you would use with get_option() just as you’ve done successfully with the title_char_count_settings option: register_setting( ‘pluginPage’, ‘title_char_count_settings’ ) and get_option( ‘title_char_count_settings’ );. So I’m guessing that you either: Made a typo in the register_setting() call in your ebay_keyword_suggest_settings_init() function: // You used this: register_setting( … Read more