balancetags [ WordPress Function ]
balancetags ( $text, $force = false )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Will only balance the tags if forced to and the option is set to balance tags.
The option 'use_balanceTags' is used to determine whether the tags will be balanced.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/balanceTags « WordPress Codex
Description. Will balance the tags if forced to or the option is set to balance tags. The option 'use_balanceTags' is used for whether the tags will be balanced.
codex.wordpress.org - Function Reference/force balance tags « WordPress Codex
Description. Balances tags of string using a modified stack. Ignores the ' use_balanceTags' option. Usage. <?php force_balance_tags( $text ) ?> Parameters ...
codex.wordpress.org - Examining balanceTags() | coffee2code.com
Aug 2, 2004 ... I quickly discovered that the function balanceTags(), located in the WP file wp- includes/functions-formatting.php was the culprit, being the sole ...
coffee2code.com - How to balance tags with PHP - Stack Overflow
In the string below, I want to replace <!--more--> with some text, ... I haven't fully tested this yet, but it works for your example at least. Assumes ...
stackoverflow.com