So in this hook is not exactly looking for the {$page_name}. Once I replaced the {$page_name} part of this filter to the {$option_group} parameter from my register_settings() function, all is well in the land of WordPress. Here is what my update needed to look like.
function bf_ins_capability(){
return 'edit_posts';
}
add_filter( 'option_page_capability_bf_insurance_settings', 'bf_ins_capability');
Related Posts:
- Is there a capability for managing plugin options?
- How does object caching work?
- How to pass arguments from add_settings_field() to the callback function?
- How to use checkbox and radio button in options page?
- Performance with autoload and the options table
- Options for CDN with WordPress Including Supporting Plugins?
- Option to set static front page disappeared from admin reading settings
- How to set up default values for a plugin?
- Add on the fly tabs to plugin options
- Plugin options autoloading
- Settings API – changing add_settings_field() output?
- Fallback when Transient API fails
- Add_settings_field() parameterizing callback?
- Set a Default Value for an Option?
- Setting ‘autoload’ to ‘no’ with Settings API
- Serialized settings in rest api
- Editor role not saving settings page for custom post type
- Settings API – how to update multiple options manually?
- Settings API – how to update options manually?
- How to change the file upload directory on version 3.5?
- Any way to partition wp_options?
- How do I add a value to a wp_options option that is an array?
- how can I detect that option value has changed?
- How to display some settings for super admin user only using Settings API
- Is there a limit to the number of options you can store in one settings field of wp_options?
- wp_user_roles and Advanced Manipulation
- Access general settings trough wordpress files
- get_option & update_option for multiple input fields with same name
- Settings API: Change position of custom setting field
- Can’t save options
- How to cache posts based on $_GET? Option name is too long? Options / transients
- update a value in wp_options [closed]
- Insufficient permissions to save options
- Can we allow users to choose front page from theme options?
- How to display usermeta on front end of site
- save_post_{CPT} not updating the ‘sticky_posts’ option
- Settings API – Separating PHP and HTML
- How to create a drop down list with pages to a themes options page?
- Classes and functions involved in serialization and unserialization
- why is unregister_setting() undefined?
- Transients API conditional
- Testing for addon plugin activated
- update a value in wordpress wp_options
- Where have the Privacy Settings gone in WordPress 3.5?
- Is there any other place – besides a theme, a plugin, or a mu-plugin – that an option page might conceivably be used?
- How to save custom settings api fields with custom section fuction
- problem with get_option in dashboard
- Custom options in plugin, register_settings not working as no options.php?
- Google fonts dropdown in Options Framework
- How can I increase the font sizes used by the WordPress visual and HTML post editors?
- How do I retrieve multiple values from a multidimensional array in wp_options?
- Which Hook can I use when creating unique post but not update/save/delete
- Updating just one option with update_option
- Upload file on pre_update_option_{option_name}
- How to use update_option() without replacing/losing the old value?
- how create an html table with all values from a serialized array in option_value
- Settings API and ‘type’ => ‘font’
- Create a counter variable in wp_options that increments when submit button is pressed
- Accept code input into Options Framework
- WordPress Settings API settings not saving for some users
- Sharing Buttons not Working – Sharing Settings [closed]
- Character \ appearing before ‘ after saving a settings page
- How to add a Reset to Defaults button with Settings API?
- How can I clear memcached WordPress site options by hand?
- Settings API no update status? (refering to the yellow bar when you save settings)
- PHP class to add pages and fields in admin panel
- Autopopulate a value
- get_option() and update_option() in a transaction (for an autoincrement value)
- display category name based on its equivalent id
- Save Plugin Options as Array
- Retrieve my custom settings in the settings/ API endpoint
- Is it possible to have a global parameter page which allows to configure other plugins in the same place?
- Multiple checkbox doesn’t work in wordpress settings api
- Help to create the best plugin settings!
- Move website from root to sub
- Is saving data to WordPress options as array bad thing to do?
- centralized alternative for get_option: get_site_option, get_network_option or get_site_meta?
- Problem with checkbox in Settings API
- Editing a loaded WordPress option without updating the database
- add image in dropdown select
- User specific settings, limited by role
- Remove Edit Profile option but still have the profile viewable
- How do I create settings only used by my theme? [closed]
- Dynamically Update Key in Associative Array When Saving Settings
- Move one option value into another option
- Adding data to options table
- how can i add_option as array from a form with just a text input
- Incorporating the Settings API in WordPress Themes – by Chip Bennet
- WordPress options text format
- Caching of SQL queries
- WordPress theme options tabs
- Importing WP settings to another host
- Only show theme option if it option exists
- $wpdb->update does not update, var_dump of data is correct
- Custom general settings (textarea field) don’t output HTML correctly
- I don’t have permission to save the theme options I created myself?
- Using get_option() for check box field
- Where to adjust presets for slider options “auto rotate” (3, 5, 10, 15 seconds)? [closed]
- change backend header options
- Ignore “empty” fields when saving