Warning: This method has been deprecated.
wp_xmlrpc_server::blogger_setTemplate() WordPress Method
The wp_xmlrpc_server::blogger_setTemplate() method is used to set the template of a given blog. This method takes two parameters: the blogID and the template. The template is specified as a string, with the following template tags supported: <$MTBlogURL$> <$MTBlogTitle$> <$MTBlogDescription$> <$MTArchivesURL$> <$MTRSSUrl$> <$MTEntriesURL$> <$MTDefaultLanguage$> <$MTLanguage$> <$MTTimezone$> <$MTEntryTime$> <$MTEntryDate$> <$MTDateFormat$> <$MTEntryModifiedTime$> <$MTEntryModifiedDate$> <$MTEntryExcerpt$> <$MTEntryBody$> <$MTEntryMore$> <$MTEntryKeywords$> <$MTEntryLink$> <$MTEntryTitle$> <$MTEntryID$> <$MTEntryAuthorID$> <$MTEntryAuthorDisplayName$> <$MTEntryAuthorEmail$> <$MTEntryAuthorURL$> <$MTEntryAuthorArchiveURL$> <$MTCommentsCount$> <$MTPingsCount$> <$MTTrackbackLink$> <$MTEntryPermalink$> <$MTEntryTrackbackLink$> <$MTArchiveLink$> <$MTSearchLink$> <$MTSubCategories$> <$MTParentCategory$> <$MTTopLevelCategories$>
wp_xmlrpc_server::blogger_setTemplate( array $args ) #
Deprecated.
Parameters
- $args
(array)(Required)Unused.
Return
(IXR_Error) Error object.
Source
File: wp-includes/class-wp-xmlrpc-server.php
public function blogger_setTemplate( $args ) { return new IXR_Error( 403, __( 'Sorry, this method is not supported.' ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.5.0 | This method has been deprecated. |
1.5.0 | Introduced. |