Forums
(@randyfiles)
13 years, 10 months ago
I’m having the exact same issue. It would be nice if register_settings took an optional “capabilities” argument.
16 years, 7 months ago
Are you trying to add the action from within a class? If so, try adding your action like this:
add_action('admin_print_scripts', array(&$this,'myplugin_js_admin_header') );