Property | Type | Description | |
---|---|---|---|
$action_prefix | string | The action prefix for Papi ajax actions. |
Method | Description | |
---|---|---|
__construct ( ) | The construct. | |
add_endpoint ( ) | Add ajax endpoint. | |
ajax_url ( ) | Add ajax url to Papi JavaScript object. | |
get_posts ( ) | Get posts via GET. | |
get_properties ( ) | Get properties via POST. | |
get_property ( ) | Get property html via GET. | |
get_rules_result ( ) | Get rules result via GET. | |
get_shortcode ( ) | Get shortcode via GET. | |
get_terms ( ) | Get terms via GET. | |
handle_papi_ajax ( ) | Handle Papi ajax. | |
render_error ( string $message ) | Render error message. |
Method | Description | |
---|---|---|
setup_actions ( ) | Setup action hooks. |
public get_posts ( ) |
public get_rules_result ( ) |
public render_error ( string $message ) | ||
$message | string |
protected string $action_prefix | ||
return | string |