get_extended example

return apply_filters( 'xmlrpc_prepare_media_item', $_media_item$media_item$thumbnail_size );
    }

    /** * Prepares page data for return in an XML-RPC object. * * @param WP_Post $page The unprepared page data. * @return array The prepared page data. */
    protected function _prepare_page( $page ) {
        // Get all of the page content and link.         $full_page = get_extended( $page->post_content );
        $link      = get_permalink( $page->ID );

        // Get info the page parent if there is one.         $parent_title = '';
        if ( ! empty( $page->post_parent ) ) {
            $parent       = get_post( $page->post_parent );
            $parent_title = $parent->post_title;
        }

        // Determine comment and ping settings.         $allow_comments = comments_open( $page->ID ) ? 1 : 0;
        
Home | Imprint | This part of the site doesn't use cookies.