Filters
Extend Comment Edit Lite programatically.
sce_loading_img - Change the loading image
/**
* Filter: sce_loading_img
*
* Replace the loading image with a custom version.
*
* @since 1.0.0
*
* @param string $image_url URL path to the loading image.
*///Simple Comment Editing
add_filter( 'sce_loading_img', 'edit_sce_loading_img' );
function edit_sce_loading_img( $default_url ) {
return 'http://domain.com/new_loading_image.gif';
}sce_comment_check_errors - Add custom error messages
sce_allow_delete - Whether to allow comment deletion or not
sce_allow_delete_confirmation - Whether to show a delete confirmation or not
sce_get_comment - Add extra data to the comment object
sce_extra_fields - Add extra HTML to the editing interface
sce_buttons - Add extra buttons to the editing interface (aside from Cancel and Save)
sce_content - Modify the edit output HTML
sce_save_before - Modify the comment object before saving via AJAX
sce_can_edit - Override the boolean whether a user can edit a comment or not
sce_security_key_min - How many security keys will be stored as post meta
sce_load_scripts - Whether to load SCE scripts or not
sce_comment_time - How long in minutes to allow comment editing
sce_show_timer - Show or hide the timer
sce_edit_text - Change the "Click to Edit" text.
sce_edit_save - Change the "Save" button text.
sce_edit_cancel - Change the "Cancel" button text.
sce_edit_delete - Change the "Delete" button text.
sce_akismet_enabled
Last updated
