WP: add action to plugin specific page


/ Published in: PHP
Save to your folder(s)

Ensures the admin scripts or styles will load only on your wordpress plugin settings page:

- add_options_page returns a hook_suffix for the settings page of your plugin.
- append this value prefixed with a dash (-) to the end of the action you are adding to

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.