[wp-hackers] pluggable.php

scribu mail at scribu.net
Fri Aug 31 01:17:56 UTC 2012


On Fri, Aug 31, 2012 at 4:01 AM, Kirk Wight <kwight at kwight.ca> wrote:

> What criteria determine if a function gets placed in pluggable.php or not?
>

The current criteria is as follows:

Is the function already pluggable (i.e. wrapped in a function_exists()
check)?

YES: Keep it in pluggable.php
NO: Don't make it pluggable; add a filter at the end instead.

-- 
http://scribu.net


More information about the wp-hackers mailing list