Actions
There are common actions for Comment Edit Pro.
License Actions
sce_core_license_{$action}
sce_core_license_{$action}Fires when a license action is performed. This is a dynamic action where {$action} can be: check_license, activate_license, or deactivate_license.
Parameters:
array $response- Response of the license action.
Since: 1.0.0
Example:
// For check_license action
add_action( 'sce_core_license_check_license', function( $response ) {
// Log the license check response
error_log( 'License check: ' . print_r( $response, true ) );
} );
// For activate_license action
add_action( 'sce_core_license_activate_license', function( $response ) {
// Perform custom action when license is activated
if ( isset( $response['success'] ) && $response['success'] ) {
// License activated successfully
}
} );Mentions Subscribe Actions
sce_mentions_subscribe_after_scripts
sce_mentions_subscribe_after_scriptsFires after scripts are printed in the header on the subscribe page.
Parameters:
string $sce_mentions_theme_name- The theme name.
Since: 1.0.0
Example:
sce_mentions_subscribe_after_styles
sce_mentions_subscribe_after_stylesFires after styles are printed in the header on the subscribe page.
Parameters:
string $sce_mentions_theme_name- The theme name.
Since: 1.0.0
Example:
sce_mentions_subscribe_body_open
sce_mentions_subscribe_body_openFires when the body tag opens on the subscribe page.
Example:
sce_mentions_subscribe_body
sce_mentions_subscribe_bodyFires inside the main content area of the subscribe page.
Example:
Mentions Unsubscribe Actions
sce_mentions_unsubscribe_after_scripts
sce_mentions_unsubscribe_after_scriptsFires after scripts are printed in the header on the unsubscribe page.
Parameters:
string $sce_mentions_theme_name- The theme name.
Since: 1.0.0
Example:
sce_mentions_unsubscribe_after_styles
sce_mentions_unsubscribe_after_stylesFires after styles are printed in the header on the unsubscribe page.
Parameters:
string $sce_mentions_theme_name- The theme name.
Since: 1.0.0
Example:
sce_mentions_unsubscribe_body_open
sce_mentions_unsubscribe_body_openFires when the body tag opens on the unsubscribe page.
Example:
sce_mentions_unsubscribe_body
sce_mentions_unsubscribe_bodyFires inside the main content area of the unsubscribe page.
Example:
Last updated
Was this helpful?
