Back to Developer Guides

This guide applies to:

  • Basic Edition
  • Plus Edition
  • Pro Edition
  • Business Edition

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.';
}


Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.

Related Guides