wpseek.com
A WordPress-centric search engine for devs and theme authors
before_last_bar › WordPress Function
Since2.8.0
Deprecatedn/a
› before_last_bar ( $string )
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
Remove last item on a pipe-delimited string.
Meant for removing the last item in a string, such as 'Role name|User role'. The original string will be returned if no pipe '|' characters are found in the string.