We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WP Example on
add_action( 'admin_menu', 'my_plugin_menu' ); function my_plugin_menu() { add_options_page( 'My Options', 'My Plugin', 'manage_options', 'my-plugin.php', 'my_plugin_page' ); }
Short in wp-di:
[ 'menu_slug' => SomeClass::class, ] // SomeClass::__toString => page_title & menu_title // SomeClass { public $capability } => caps
The text was updated successfully, but these errors were encountered:
No branches or pull requests
WP Example on
Short in wp-di:
The text was updated successfully, but these errors were encountered: