Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to add cutom menu option in wordpress

function wpb_custom_new_menu()
{
    register_nav_menus(
        array(
            'my-custom-menu' => __('My Custom Menu'),
            'extra-menu' => __('Extra Menu')
        )
    );
}
add_action('init', 'wpb_custom_new_menu');
Comment

PREVIOUS NEXT
Code Example
Php :: capitlise php 
Php :: blade capitalize first letter 
Php :: laravel session put method 
Php :: loop through months and year php 
Php :: array_intersect php 
Php :: laravel hasone users relations 
Php :: php remove wordpress shortcodes 
Php :: php get random element from array 
Php :: phpspreadsheet applyFromArray wrap 
Php :: foreach skip first php 
Php :: add new column to table laravel 
Php :: current page link using php 
Php :: laravel scaffolding 
Php :: get the charectors inside braces regex php 
Php :: php get prameter 
Php :: get http code curl php 
Php :: php artisan preset react 
Php :: laravel model db raw count 
Php :: get_posts term 
Php :: laravel get input from request 
Php :: checking php version 
Php :: SSL PHP CURL 
Php :: php translate url wpml 
Php :: laravel new project command 
Php :: Limit Product Name in Magento2 
Php :: php how to rename a file before saving it 
Php :: php set x-frame-options 
Php :: default null migration laravel 
Php :: Laravel Session using Global Session php function 
Php :: php curl pass user:password 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =