remote_post_meta_data_to_doaj()
remote_post_meta_data_to_doaj(string $doaj_json, string $doaj_api_url, string $doaj_api_key, integer $timeout = 10) : array|\WP_Error
Post meta-data to DOAJ
Posts meta-data in json format to the DOAJ.
Parameters
string | $doaj_json | Json encoded meta-data in a format suitable for DOAJ |
string | $doaj_api_url | The DOAJ API submission URL |
string | $doaj_api_key | The DOAJ API key |
integer | $timeout | Maximum number of seconds to wait for a response (default 10 seconds) |
Returns
array|\WP_Error —The result of a wp_remote_post() call or a WP_Error in case of errors