관리-도구
편집 파일: defaults.php
<?php // ======================================================================== // // Define some constants for easy reference later // ======================================================================== // if(!defined('BS_SHORTCODES_DIR')) { define('BS_SHORTCODES_DIR', plugin_dir_path( __FILE__ )); } if(!defined('BS_SHORTCODES_URL')) { define('BS_SHORTCODES_URL', plugin_dir_url( __FILE__ )); } // ======================================================================== // // Windows-proof constants: replace backward by forward slashes - thanks to: https://github.com/peterbouwmeester //$fslashed_dir = trailingslashit(str_replace('\\','/', dirname(__FILE__))); //$fslashed_abs = trailingslashit(str_replace('\\','/', ABSPATH));