Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to make custom sub menu admin wordpress dev

function wpdocs_register_my_custom_submenu_page() {
	add_submenu_page(
		'edit.php',
		'Profil',
		'Profil',
		'manage_options',
		'my-custom-submenu-page',
		'my_custom_submenu_page_callback',
	);
}
add_action('admin_menu', 'wpdocs_register_my_custom_submenu_page');
Comment

how to make custom sub menu admin wordpress dev

Slugs for $parent_slug (first parameter)

Dashboard: ‘index.php’
Posts: ‘edit.php’
Media: ‘upload.php’
Pages: ‘edit.php?post_type=page’
Comments: ‘edit-comments.php’
Custom Post Types: ‘edit.php?post_type=your_post_type’
Appearance: ‘themes.php’
Plugins: ‘plugins.php’
Users: ‘users.php’
Tools: ‘tools.php’
Settings: ‘options-general.php’
Network Settings: ‘settings.php’
Comment

PREVIOUS NEXT
Code Example
Php :: phpmyadmin arch 
Php :: htaccess file for multisite 
Php :: preg_replace rules for php 7.3 
Php :: laravel list get x amount in a collection 
Php :: id de sesion php 
Php :: remove all breadcrumbs php 
Php :: php 8.0 linux 
Php :: php echo comand 
Php :: update php version of particular domain on ubuntu 
Php :: skäller västgötaspetsar 
Php :: how to auto calculate price in mysql table and php 
Php :: how to validate email or phone number single parameter request in laravel 
Php :: newrelic apache virtual hosts 
Php :: sync fetch eloquent laravel 
Php :: Shorten long numbers to K/M/B? 
Php :: how to filter the all special characters in cakephp from an array 
Php :: Writing a New Block for Cryptocurrency Blockchain 
Php :: foreach loog in php 
Php :: array_unshift php 
Php :: error correction in qr code php 
Php :: laravel asset resolving to http not https 
Php :: start day picker and end date picker in php 
Php :: codeigniter get view as string 
Php :: laravel artisan helper function 
Php :: Class PHPUnit_Util_Log_TeamCity does not exist 
Php :: laravel yajra datatable Add Column with View 
Php :: Ajouter du contenu personnalisé sous chaque article/publication WordPress 
Php :: php cut after first sentence 
Php :: laravel timestamp not updating 
Php :: php calculate variance 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =