bp_nouveau_activity_excerpt_append_text( string $read_more = '' )
Remove brackets around the “Read more” text.
Parameters Parameters
- $read_more
-
(string) (Optional) The read more text.
Default value: ''
Return Return
(string) The read more text without brackets.
Source Source
File: bp-templates/bp-nouveau/includes/activity/functions.php
function bp_nouveau_activity_excerpt_append_text( $read_more = '' ) { /** * As this was added during a string freeze period, we * are using the `str_replace()` function. */ return str_replace( array( '[', ']' ), '', $read_more ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |