WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
555 | // For Intergers which may be largeer than XMLRPC supports ensure we return strings. |
556 | $_term['term_id'] = strval( $_term['term_id'] ); |
557 | $_term['term_group'] = strval( $_term['term_group'] ); |
558 | $_term['term_taxonomy_id'] = strval( $_term['term_taxonomy_id'] ); |
559 | $_term['parent'] = strval( $_term['parent'] ); |
560 |
|
561 | // Count we are happy to return as an Integer because people really shouldn't use Terms that much. |
562 | $_term['count'] = intval( $_term['count'] ); |
563 |
|
564 | return apply_filters( 'xmlrpc_prepare_term', $_term, $term ); |
565 | } |
566 |
|
567 | /** |
568 | * Convert a WordPress date string to an IXR_Date object. |
569 | * |
570 | * @access protected |
571 | * |
572 | * @param string $date |
573 | * @return IXR_Date |