[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Word or character counting functionality. Count words or characters in a provided text string.
File Size: | 220 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WordCounter( settings ) X-Ref |
Word counting utility param: {Object} settings Optional. Key-value object containing overrides for param: {RegExp} settings.HTMLRegExp Optional. Regular expression to find HTML elements. param: {RegExp} settings.HTMLcommentRegExp Optional. Regular expression to find HTML comments. param: {RegExp} settings.spaceRegExp Optional. Regular expression to find irregular space param: {RegExp} settings.HTMLEntityRegExp Optional. Regular expression to find HTML entities. param: {RegExp} settings.connectorRegExp Optional. Regular expression to find connectors that param: {RegExp} settings.removeRegExp Optional. Regular expression to find remove unwanted param: {RegExp} settings.astralRegExp Optional. Regular expression to find unwanted param: {RegExp} settings.wordsRegExp Optional. Regular expression to find words by spaces. param: {RegExp} settings.characters_excluding_spacesRegExp Optional. Regular expression to find characters which param: {RegExp} settings.characters_including_spacesRegExp Optional. Regular expression to find characters param: {RegExp} settings.shortcodesRegExp Optional. Regular expression to find shortcodes. param: {Object} settings.l10n Optional. Localization object containing specific param: {string} settings.l10n.type Optional. Method of finding words to count. param: {Array} settings.l10n.shortcodes Optional. Array of shortcodes that should be removed return: {void} |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |