Answers for "wordpress admin url"

PHP
1

wordpress admin url

<?php
  echo '<a href="' . esc_url( admin_url('nav-menus.php') ) . '">' . esc_html( 'Add Menu' ) . '</a>';
?>
Posted by: Guest on December-24-2020
0

wp site url link from admin

$url = site_url( '/secrets/', 'https' );
echo $url;
//Output: https://www.example.com/secrets/ or https://www.example.com/wordpress/secrets/
Posted by: Guest on July-01-2021
0

wp site url link from admin

$url = site_url( '/secrets/', 'https' );
echo $url;
Posted by: Guest on July-01-2021

Browse Popular Code Answers by Language