Web Design Colors

UX, Javascript, WordPress, Drupal, more..

Tag

WPADMIN

WordPress WP_ADMIN_DIR Constant

There are various ways to set (and get) wordpress admin directory. I do not understand why wordpress has not included that! Method 1: if (!defined(‘WP_ADMIN_DIR’)) define(‘WP_ADMIN_DIR’, ‘./wp-admin/’); In this method the WP_ADMIN_DIR constant will be very vague and will create… Continue Reading →

© 2017 Web Design Colors — Powered by WordPress

Theme by Anders NorenUp ↑