In this document:
Description
An ssa loaded WordPress hook that fires once the SSA Plugin is successfully loaded in a web page along with all requirements.
Placement
This code should be placed in a plugin’s file (other than the Simply Schedule Appointments Plugin).
The code shouldn’t be placed in the theme’s file, as the hook would fire before the theme file is initialized.
Source Code
This action is located in the plugins_loaded()
function in simply-schedule-appointments.php.
Usage for ssa_loaded
add_action('ssa_loaded', 'new_function_name'), 10, 0);
Parameters
No parameters.
Example – Show an Alert After Loading the SSA Plugin
add_action('ssa_loaded', 'alert_plugin_loaded', 10, 0);
function alert_plugin_loaded()
{
echo 'SSA has been loaded successfully.';
}
Related Guides
-
MemberPress Appointments for Memberships
-
Appointments Tab for Member Dashboards
-
ssa/appointments/customer_information/get_defaults Filter
-
ssa/templates/get_template_vars Filter