Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: xmlrpc_prepare_term

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
653
654           /**
655            * Filter XML-RPC-prepared data for the given term.
656            *
657            * @since 3.4.0
658            *
659            * @param array        $_term An array of term data.
660            * @param array|object $term  Term object or array.
661            */
662           return apply_filters( 'xmlrpc_prepare_term', $_term, $term );
663      }
664
665      /**
666       * Convert a WordPress date string to an IXR_Date object.
667       *
668       * @access protected
669       *
670       * @param string $date
671       * @return IXR_Date