Answers for "wp-admin change url"

PHP
5

wordpress change site address

// Add to top of wp-config.php
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
Posted by: Guest on May-06-2020
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

Browse Popular Code Answers by Language