Astra_API_Init::astra_get_knowledge_base_data()
Astra’s REST knowledge base data.
Description
Return
(mixed)
Source
File: admin/includes/class-astra-api-init.php
public static function astra_get_knowledge_base_data() {
return json_decode( wp_remote_retrieve_body( wp_remote_get( 'https://wpastra.com/wp-json/powerful-docs/v1/get-docs' ) ) );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |