public function build_wp_properties() { // set the plugin WP url here so it can be filtered if (defined('BWP_USE_SYMLINKS')) { // make use of symlinks on development environment $this->plugin_wp_url = $this->bridge->trailingslashit($this->bridge->plugins_url($this->plugin_folder)); } else { // this should allow other package to include BWP plugins while // retaining correct URLs pointing to assets $this->plugin_wp_url = $this->bridge->trailingslashit($this->bridge->plugin_dir_url($this->plugin_file)); } }