Switch language

wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren




wp_remote_post [ WordPress Function ]

wp_remote_post ( $url, $args = array() )
Parameter:
  • (string) $url Site URL to retrieve.
  • (array) $args Optional. Override the defaults.
Siehe:
Gibt zurück:
  • (WP_Error|array) The response or WP_Error on failure.
Definiert in:



Retrieve the raw response from the HTTP request using the POST method.

Source


<?php
function wp_remote_post($url$args = array()) {
    
$objFetchSite _wp_http_get_object();
    return 
$objFetchSite->post($url$args);
}
?>

Beispiele [ wp-snippets.com ]

Top Google Suchergebnisse

Mehr ...

0 Nutzerkommentare

Noch keine. Sei der Erste!

Neu hinzufügen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics