So basically it's an example of an existing filter - which you do have to write your own function for.
I agree this is a great example use-case. Some people can read the docs, but learn better from example code. On Sun, Nov 11, 2012 at 4:44 PM, Manuel Schmalstieg <[email protected]>wrote: > That's exactly what I wanted to know. Just by looking at the code, > it's hard for me to tell if that custom_detail_post_labels() function > is less official than, say, the register_post_type function. Both look > similarly clean, or hackish, depending on your milage. It could very > well be "official but undocumented". > > Now, I don't know how widely spread this particular piece of code is, > but as you can see, it's circulating. Just a bit of wishful thinking: > for a theme designer, it would be great to have a "popular wisdom" > section in the Codex that would document such methods (with a > disclaimer telling that it's not officially supported), and some > rating and comments system that would allow to measure the general > usefulness and popularity of such recipes (similarly to the plugins). > > Or is wordpress.stackexchange supposed to do exactly that? Maybe, but > I think it would be good to centralize things more. Stackexchange is > useful, but extremely disorganized. Having to hunt for information > between Codex, stackexchange, forums and personal developer blogs can > induce schizophrenia after some time. > > > On Sun, Nov 11, 2012 at 6:18 PM, Bryan Petty <[email protected]> wrote: > > > As long as the Codex contains official documentation, I would say no. > > It's too easy to confuse the two. If there were a "user contributions" > > section on every page, that would be different though. > _______________________________________________ > wp-docs mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-docs > -- -- Andrea Rennick, http://wpebooks.com and http://ronandandrea.com Co-author of WordPress All-In-One For Dummies http://rml.me/aio
_______________________________________________ wp-docs mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-docs
