bbp_plugin_basename
bbp_plugin_basename
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_plugin_basename') is found 1 times:
- /bbpress.php line 215211212213214215216217218219220
/** Paths *************************************************************/
// File & base
$this
->file =
__FILE__
;
$this
->
basename
= apply_filters(
'bbp_plugin_basename'
,
str_replace
(
array
(
'build/'
,
'src/'
),
''
, plugin_basename(
$this
->file ) ) );
$this
->basepath = apply_filters(
'bbp_plugin_basepath'
, trailingslashit( dirname(
$this
->
basename
) ) );
// Path and URL
$this
->plugin_dir = apply_filters(
'bbp_plugin_dir_path'
, plugin_dir_path(
$this
->file ) );
$this
->plugin_url = apply_filters(
'bbp_plugin_dir_url'
, plugin_dir_url (
$this
->file ) );