[theme-reviewers] Prefixing theme specific actions and filters
Chip Bennett
chip at chipbennett.net
Tue Jan 10 14:19:07 UTC 2012
Yes. Basically, anything that is/can be in a public namespace should be
uniquely prefixed.
Thus, a custom action, e.g. 'post_after', should be prefixed, i.e. as
'theme_slug_post_after'. Likewise (and more importantly) with filters.
Chip
On Tue, Jan 10, 2012 at 8:08 AM, George Mamadashvili <
georgemamadashvili at gmail.com> wrote:
> Shouldn't theme specific actions and filters be prefixed?
>
> Thanks
>
> George
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20120110/28be6116/attachment.htm>
More information about the theme-reviewers
mailing list