bbp_get_root_url()
Get the root URL
Description Description
Return Return
(string)
Source Source
File: includes/core/abstraction.php
178 179 180 181 182 183 184 185 186 187 188 189 190 191 | function bbp_get_root_url() { // Default $retval = '' ; $rewrite = bbp_rewrite(); // Use $wp_rewrite->root if available if ( property_exists( $rewrite , 'root' ) ) { $retval = $rewrite ->root; } // Filter & return return apply_filters( 'bbp_get_root_url' , $retval ); } |
Changelog Changelog
Version | Description |
---|---|
2.5.8 | Introduced. |