[wp-hackers] Returning instead of echoing

Ryan Boren ryan at boren.nu
Sun Nov 14 23:33:44 UTC 2004


On Thu, 2004-11-11 at 23:52 -0700, Alex King wrote:
> I thought we were going to have 'the_' and 'get_' functions, it looks 
> like there is now a third set of 'get_the_' functions being created 
> here. I'd be happy to standardize on the 'the_' and 'get_' versions; 
> breaking things where necessary for the next major release.

We already have a number of 'get_the_' functions.  get_the_content(),
get_the_excerpt(), get_the_category(), etc.  Many of the major template
tags already have a 'get_the_' and 'the_' division.  'get_' are helpers
for 'the_' and 'get_the_'.  For the most part, at least.

Ryan




More information about the hackers mailing list