[wp-hackers] pluggable functions

Kirk Wight kwight at kwight.ca
Sat Oct 27 20:56:10 UTC 2012


Ah, so hooks are considered preferable because they can use priorities?

(BTW, I mentioned earlier that all pluggable functions are deprecated. So
not true.)

On 27 October 2012 16:20, Andrew Bartel <andrew.bartel at gmail.com> wrote:

> So that two plugins don't both try to override a function and conflict, for
> example, wp_mail().
>
> -Andrew
>
>
> On Sat, Oct 27, 2012 at 1:05 PM, Kirk Wight <kwight at kwight.ca> wrote:
>
> > Does anyone know the reasoning behind Core moving way from the use of
> > pluggable functions (the only remaining ones are all deprecated)?
> >
> > In particular, I'm curious about pluggable functions that are on hooks,
> as
> > I'm starting to see more and more themes in the repo that make everything
> > in functions.php pluggable, whether on a hook or not. Just wondering if
> > there's any risk or downside.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list