1
How do I insert a require
in this Wordpress function for menu in administration?
add_action('admin_menu', function() {
# $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = null
add_menu_page (
'Gerência de dados',
'Gerência',
'manage_options',
'gerencia_de_dados',
function(){
echo '<h2>Sistema de gerenciamento de traduções</h2>';
echo '<form><input type="text"></form>';
},
'dashicons-welcome-learn-more',
6
);
});
The current result for learning purposes is this:
You have been here for a long time, please take a look at these links http://meta.pt.stackoverflow.com/questions/1084/como-devemos-formatr-questions-e-respostas?lq=1 and http://meta.pt.stackoverflow.com/questions/297/quando-se-deve-colocao-name-nameg_no-t%C3%adtulo
– Maniero