bpbbpst_get_includes_url

Gets the plugin's includes url.

Description

(string) bpbbpst_get_includes_url( (string) $subfolder = '' ); 

Returns (string)

the plugin includes url

Parameters (1)

0. $subfolder — Optional. (string) => ''
The subfolder.

Usage

  1. if ( !function_exists( 'bpbbpst_get_includes_url' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddy-bbpress-support-topic/includes/functions.php'; 
  3.  
  4. // The subfolder. 
  5. $subfolder = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bpbbpst_get_includes_url($subfolder); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/functions.php  
  1. function bpbbpst_get_includes_url( $subfolder = '' ) { 
  2. return trailingslashit( bbpress()->extend->bpbbpst->globals->includes_url . $subfolder );