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
691
692           /**
693            * Filter XML-RPC-prepared data for the given term.
694            *
695            * @since 3.4.0
696            *
697            * @param array        $_term An array of term data.
698            * @param array|object $term  Term object or array.
699            */
700           return apply_filters( 'xmlrpc_prepare_term', $_term, $term );
701      }
702
703      /**
704       * Convert a WordPress date string to an IXR_Date object.
705       *
706       * @access protected
707       *
708       * @param string $date Date string to convert.
709       * @return IXR_Date IXR_Date object.