I am sorry if I bother you or any other, it was never my intention.
I have read the pluggable.php and I have tryed including it in my file but if I do this I have to include also plugin.php, functions.php, capabilities.php.
I do not know how to access to one function in pluggable.php without having to call other modules..
“come on”
“someone shall know”
OK, I solved it myself, the only problem is that I needed a lower user_level. It works with 2:
<?php
define('__DIR__',pathinfo(__FILE__,PATHINFO_DIRNAME));
add_action('admin_menu','menu_panels');
function menu_panels(){
add_menu_page(__('Panels'), __('Panels'), 2, __DIR__ . '/pag-panels.php');
}
?>