wp_xmlrpc_server8b7c:f320:99b9:690f:4595:cd17:293a:c069wp_getPageTemplates( array $args ): array|IXR_Error  Retrieve page templates.   Parameters   $args array Required    Method arguments. Note: arguments must be ordered as documented. 

intBlog ID (unused).
 
1stringUsername.
 
2stringPassword.
        Return array|IXR_Error    Source  File: wp-includes/class-wp-xmlrpc-server.php. View all references  public function wp_getPageTemplates( $args ) {
	$this->escape( $args );

	$username = $args[1];
	$password = $args[2];

	$user = $this->login( $username, $password );
	if ( ! $user ) {
		return $this->error;
	}

	if ( ! current_user_can( 'edit_pages' ) ) {
		return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details about this site.' ) );
	}

	$templates            = get_page_templates();
	$templates['Default'] = 'default';

	return $templates;
}
   Related  Uses    Uses Description      get_page_templates() wp-admin/includes/theme.php   Gets the page templates available in this theme.     IXR_Error8b7c:f320:99b9:690f:4595:cd17:293a:c069__construct() wp-includes/IXR/class-IXR-error.php   PHP5 constructor.     current_user_can() wp-includes/capabilities.php   Returns whether the current user has the specified capability.     __() wp-includes/l10n.php   Retrieves the translation of $text.     wp_xmlrpc_server8b7c:f320:99b9:690f:4595:cd17:293a:c069scape() wp-includes/class-wp-xmlrpc-server.php   Escape string or array of strings for database.     wp_xmlrpc_server8b7c:f320:99b9:690f:4595:cd17:293a:c069login() wp-includes/class-wp-xmlrpc-server.php   Log user in.   
    Changelog    Version Description     2.6.0 Introduced.    

    
{'path': 'public/docs/wordpress/classes/wp_xmlrpc_server/wp_getpagetemplates.html', 'source': 'DevDocs.IO'}