Changeset 3905
- Timestamp:
- 05/17/2012 03:13:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r3899 r3905 351 351 // Setup some base path and URL information 352 352 $this->file = __FILE__; 353 $this->basename = plugin_basename( $this->file);354 $this->plugin_dir = plugin_dir_path( $this->file);355 $this->plugin_url = plugin_dir_url ( $this->file);353 $this->basename = apply_filters( 'bbp_plugin_basenname', plugin_basename( $this->file ) ); 354 $this->plugin_dir = apply_filters( 'bbp_plugin_dir_path', plugin_dir_path( $this->file ) ); 355 $this->plugin_url = apply_filters( 'bbp_plugin_dir_url', plugin_dir_url ( $this->file ) ); 356 356 357 357 // Themes 358 $this->themes_dir = trailingslashit( $this->plugin_dir . 'bbp-themes');359 $this->themes_url = trailingslashit( $this->plugin_url . 'bbp-themes');358 $this->themes_dir = apply_filters( 'bbp_themes_dir', trailingslashit( $this->plugin_dir . 'bbp-themes' ) ); 359 $this->themes_url = apply_filters( 'bbp_themes_url', trailingslashit( $this->plugin_url . 'bbp-themes' ) ); 360 360 361 361 // Languages 362 $this->lang_dir = trailingslashit( $this->plugin_dir . 'bbp-languages');362 $this->lang_dir = apply_filters( 'bbp_lang_dir', trailingslashit( $this->plugin_dir . 'bbp-languages' ) ); 363 363 364 364 /** Identifiers *******************************************************/
Note: See TracChangeset
for help on using the changeset viewer.