DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:common_wordblock_blocked

COMMON_WORDBLOCK_BLOCKED

Description:
Intercept wordblock
DefaultAction:
Prevents page saving when a wordblock occurs
Preventable:
yes
Added:
2008-10-12

The event is signalled by checkwordblock() in inc/common.php. You can use this event to take action if a wordblock occurs.

Passed Data

  • data[matches] ⇒ array of wordblock matches
  • data[userinfo] ⇒ detailed userinfo
    • [ip] ⇒ ip address
    • [user] ⇒ username (if logged in)
    • [name] ⇒ real name (if logged in)
    • [mail] ⇒ mail address (if logged in)

See also

devel/event/common_wordblock_blocked.txt · Last modified: 2018-12-08 15:09 by torpedo

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