Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Unlimited Editing is a great reward for logged-in commenters
Tools help make your commenting life much better.
Set the comment status for each post type.
wp-content/plugins






















Allow commenters to mention other users in their comments
Check out the integrations to third-party services
Protect your user's privacy by hiding their avatar
Receive a Slack Notification for New and Edited Comments
Turnstile is Cloudflare's non-interactive Captcha and is an alternative to reCAPTCHA 3.














































































There are common actions for Comment Edit Pro.
sce_core_license_{$action}sce_mentions_subscribe_after_scriptssce_mentions_subscribe_after_stylessce_mentions_subscribe_body_opensce_mentions_subscribe_bodysce_mentions_unsubscribe_after_scriptssce_mentions_unsubscribe_after_stylessce_mentions_unsubscribe_body_opensce_mentions_unsubscribe_bodyGet MailerLite Subscribers From Your Comment Section
Enable custom avatars to add some fun to your comment section






























// 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
}
} );add_action( 'sce_mentions_subscribe_after_scripts', function( $theme_name ) {
// Add custom inline script after header scripts
echo '<script>console.log("Subscribe page loaded");</script>';
} );add_action( 'sce_mentions_subscribe_after_styles', function( $theme_name ) {
// Add custom inline styles after header styles
echo '<style>.custom-class { color: red; }</style>';
} );add_action( 'sce_mentions_subscribe_body_open', function() {
// Add custom content at the start of the body
echo '<div class="custom-wrapper">';
} );add_action( 'sce_mentions_subscribe_body', function() {
// Add custom content to the subscribe page body
echo '<p>Thank you for subscribing!</p>';
} );add_action( 'sce_mentions_unsubscribe_after_scripts', function( $theme_name ) {
// Add custom inline script after header scripts
echo '<script>console.log("Unsubscribe page loaded");</script>';
} );add_action( 'sce_mentions_unsubscribe_after_styles', function( $theme_name ) {
// Add custom inline styles after header styles
echo '<style>.custom-class { color: blue; }</style>';
} );add_action( 'sce_mentions_unsubscribe_body_open', function() {
// Add custom content at the start of the body
echo '<div class="custom-wrapper">';
} );add_action( 'sce_mentions_unsubscribe_body', function() {
// Add custom content to the unsubscribe page body
echo '<p>You have been unsubscribed successfully.</p>';
} );













































[sce_comment_form][sce_comment_form][sce_comment_form post="42"][sce_comment_form hide_on_comment_pagination="true"]/post-name/?cpage=2[sce_comment_form hide_secondary_comment_forms="true"][sce_comment_form hide_all_comment_forms="true"][sce_comment_form
id_form="custom-comment-form"
class_form="my-comment-form"
class_submit="my-submit-button"
]Extend Comment Edit Pro programatically.
sce_button_extra_stop_timersce_webhook_post_type_argssce_core_license_data_{$action}sce_can_view_pending_commentssce_mentions_subscribe_body_textsce_mentions_subscribe_templatesce_mentions_unsubscribe_body_textsce_mentions_unsubscribe_templatesce_mentions_subscribe_scripts_headersce_mentions_subscribe_styles_headersce_mentions_subscribe_scripts_footersce_mentions_unsubscribe_scripts_headersce_mentions_unsubscribe_styles_headersce_mentions_unsubscribe_scripts_footersce_integrations_localized_varssce_avatar_sizesce_avatar_classessce_gravatar_protection_sizesce_gravatar_protection_classesadd_filter( 'sce_button_extra_stop_timer', function( $svg ) {
return '<svg>...</svg>';
} );add_filter( 'sce_webhook_post_type_args', function( $args ) {
$args['public'] = true;
return $args;
} );// For check_license action
add_filter( 'sce_core_license_data_check_license', function( $response ) {
// Modify the response data
return $response;
} );
// For activate_license action
add_filter( 'sce_core_license_data_activate_license', function( $response ) {
// Modify the response data
return $response;
} );add_filter( 'sce_can_view_pending_comments', function( $can_view, $query ) {
// Only allow viewing pending comments for administrators
return current_user_can( 'manage_options' );
}, 10, 2 );add_filter( 'sce_mentions_subscribe_body_text', function( $body, $unsubscribe_url ) {
return '<p>Custom subscription message</p>';
}, 10, 2 );add_filter( 'sce_mentions_subscribe_template', function( $template ) {
return get_stylesheet_directory() . '/templates/custom-subscribe.php';
} );add_filter( 'sce_mentions_unsubscribe_body_text', function( $body ) {
return '<p>Custom unsubscribe message</p>';
} );add_filter( 'sce_mentions_unsubscribe_template', function( $template ) {
return get_stylesheet_directory() . '/templates/custom-unsubscribe.php';
} );add_filter( 'sce_mentions_subscribe_scripts_header', function( $handles, $theme_name ) {
$handles[] = 'my-custom-script';
return $handles;
}, 10, 2 );add_filter( 'sce_mentions_subscribe_styles_header', function( $handles, $theme_name ) {
$handles[] = 'my-custom-style';
return $handles;
}, 10, 2 );add_filter( 'sce_mentions_subscribe_scripts_footer', function( $handles, $theme_name ) {
$handles[] = 'my-custom-footer-script';
return $handles;
}, 10, 2 );add_filter( 'sce_mentions_unsubscribe_scripts_header', function( $handles, $theme_name ) {
$handles[] = 'my-custom-script';
return $handles;
}, 10, 2 );add_filter( 'sce_mentions_unsubscribe_styles_header', function( $handles, $theme_name ) {
$handles[] = 'my-custom-style';
return $handles;
}, 10, 2 );add_filter( 'sce_mentions_unsubscribe_scripts_footer', function( $handles, $theme_name ) {
$handles[] = 'my-custom-footer-script';
return $handles;
}, 10, 2 );add_filter( 'sce_integrations_localized_vars', function( $vars ) {
$vars['myCustomVar'] = 'value';
return $vars;
} );add_filter( 'sce_avatar_size', function( $size ) {
return 100; // Set avatar size to 100px
} );add_filter( 'sce_avatar_classes', function( $classes ) {
$classes[] = 'my-custom-class';
return $classes;
} );add_filter( 'sce_gravatar_protection_size', function( $size ) {
return 120; // Set gravatar protection size to 120px
} );add_filter( 'sce_gravatar_protection_classes', function( $classes ) {
$classes[] = 'my-gravatar-class';
return $classes;
} );


















































