install.php - Menu Item Hard Coded Title
Hi,
In the install.php you have a function that hard codes the menu items for Freelancer and Project.
How can we edit this title after the installation?
thanks
John
wp_update_nav_menu_item( $menu_id, 0, array(
'menu-item-position' => 2,
'menu-item-title' => esc_attr( __( 'Find Project', APP_TD ) ),
'menu-item-url' => esc_url( get_post_type_archive_link( HRB_PROJECTS_PTYPE ) ),
'menu-item-status' => 'publish'
) );
wp_update_nav_menu_item( $menu_id, 0, array(
'menu-item-position' => 3,
'menu-item-title' => esc_attr( __( 'Find Freelancer', APP_TD ) ),
'menu-item-url' => esc_url( get_the_hrb_users_base_url() ),
'menu-item-status' => 'publish'
) );