DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:parser_locale_xhtml

PARSER_LOCALE_XHTML

Description:
Modify localized text
DefaultAction:
Return parsed localized text
Preventable:
yes
Added:
2022-01-10

This event is signalled by p_locale_xthml() in inc/parseutils.php. It can be used to override the id of the text to be localized, or to modify the parsed HTML.

Passed Data

  • id contains the id of the localized text to fetch
  • html is the HTML after parsing the localized text with given id

See also

devel/event/parser_locale_xhtml.txt · Last modified: 2022-01-13 12:31 by annda

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki