Changeset 7213 for branches/2.6/src/includes/common/template.php
- Timestamp:
- 10/12/2021 10:05:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/common/template.php
r7211 r7213 2152 2152 * @return bool True if match, false if not 2153 2153 */ 2154 function bbp_is_query_name( $name = '' ) 2154 function bbp_is_query_name( $name = '' ) { 2155 2155 return (bool) ( bbp_get_query_name() === $name ); 2156 2156 } … … 2163 2163 * @return string To return the query var value 2164 2164 */ 2165 function bbp_get_query_name() 2165 function bbp_get_query_name() { 2166 2166 return get_query_var( '_bbp_query_name' ); 2167 2167 } … … 2174 2174 * @param string $name What to set the query var to 2175 2175 */ 2176 function bbp_set_query_name( $name = '' ) 2176 function bbp_set_query_name( $name = '' ) { 2177 2177 set_query_var( '_bbp_query_name', $name ); 2178 2178 }
Note: See TracChangeset
for help on using the changeset viewer.