UX, Javascript, WordPress, Drupal, more..


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 →

© 2024 Web Design Colors — Powered by WordPress

Theme by Anders NorenUp ↑