Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
MEC_HELPERS::select_events_endpoint()
This is a callback method to wp_ajax_ua_mec_select_events
hook.
Contents
Description Description
The method renders a json array which is immediately followed by die function from wp_send_json.
Return Return
(Uncanny_Automatorvoid.)
Source Source
File: src/integrations/modern-events-calendar/helpers/mec-helpers.php
public function select_events_endpoint() { $events = new MEC_HELPERS(); wp_send_json( $events->get_events( true ) ); }
Expand full source code Collapse full source code View on Github