URL administradora de WordPress
<?php
echo '<a href="' . esc_url( admin_url('nav-menus.php') ) . '">' . esc_html( 'Add Menu' ) . '</a>';
?>
heinthuya
<?php
echo '<a href="' . esc_url( admin_url('nav-menus.php') ) . '">' . esc_html( 'Add Menu' ) . '</a>';
?>
$url = site_url( '/secrets/', 'https' );
echo $url;
//Output: https://www.example.com/secrets/ or https://www.example.com/wordpress/secrets/
$url = site_url( '/secrets/', 'https' );
echo $url;