Custom Library for Elementor 2.5.0 has 28 actions and 25 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Custom Library for Elementor fires an action
add_action( 'analog_custom_library_template_imported', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Custom Library for Elementor is about to use
add_filter( 'analog_custom_library_admin_notices', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires after a template is imported in the editor. */ do_action( 'analog_custom_library_template_imported', array( 'template_id' => $template_id, 'template_title' => $template_title, 'import_type' => 'local', 'import_method' => 'editor', 'user_id' => get_current_user_id(), 'status' => is_wp_error( $data ) ? 'failed' : 'success', 'error_message' => is_wp_error( $data ) ? $data->get_error_message() : null, ) ); -
/** * Filters the list of available admin notices. */ apply_filters( 'analog_custom_library_admin_notices', array() ); -
/** * Sanitize the value of an option. */ apply_filters( 'analog_custom_library_admin_settings_sanitize_option', $value, $option, $raw_value ); -
analog_custom_library_admin_settings_sanitize_option_{$option_name}
filter Copy link Customise this hook/** * Sanitize the value of an option by option name. */ apply_filters( "analog_custom_library_admin_settings_sanitize_option_{$option_name}", $value, $option, $raw_value ); -
/** * Fire an action before saved. */ do_action( 'analog_custom_library_update_option', $option ); -
/** * Filter the category tree. */ apply_filters( 'analog_library/categories', $categories ); -
/** * Action to clear remote template caches. */ do_action( 'analog_library/clear_remote_caches' ); -
/** * Filter to handle remote template content. */ apply_filters( 'analog_library/remote_template_content', null, $template_id ); -
/** * Filter the templates list. */ apply_filters( 'analog_library/templates', $templates ); -
apply_filters( "analog_custom_library_get_settings_{$this->id}", array() ); -
do_action( "analog_custom_library_settings_{sanitize_title($value['id'])}" ); -
analog_custom_library_update_options_{$this->id}_{$current_section}
action Copy link Customise this hookdo_action( "analog_custom_library_update_options_{$this->id}_{$current_section}" ); -
do_action( 'agwp_custom_library_activation' ); -
do_action( 'agwp_custom_library_deactivation' ); -
do_action( 'agwp_custom_library_for_elementor_fs_loaded' ); -
apply_filters( "analog_custom_library_{$this->id}_settings", $settings ); -
do_action( "analog_custom_library_admin_field_{$value['type']}", $value ); -
apply_filters( 'analog_custom_library_admin_notices_html', array( 'a' => array( 'href' => array(), 'target' => array(), 'class' => array(), ), 'br' => array(), 'em' => array(), 'strong' => array(), ) ); -
do_action( 'analog_custom_library_after_featuresets_initialize' ); -
apply_filters( 'analog_custom_library_experiments_settings', array( array( 'title' => esc_html__( 'Library popup style', 'analogwp-library' ), 'type' => 'title', 'id' => 'analog_custom_library_popup_style', ), array( 'id' => 'library_popup_style', 'type' => 'radio', 'options' => array( 'compact' => __( 'Compact (popup)', 'analogwp-library' ), 'full-screen' => __( 'Fullscreen', 'analogwp-library' ), ), 'default' => 'compact', ), array( 'type' => 'sectione... ); -
apply_filters( "analog_custom_library_get_sections_{$this->id}", array() ); -
apply_filters( 'analog_custom_library_get_settings_pages', $settings ); -
do_action( 'analog_custom_library_loaded' ); -
do_action( 'analog_custom_library_loaded_scripts_styles' ); -
do_action( "analog_custom_library_post_insert_{$type}", $wpdb_insert_id, $data ); -
do_action( "analog_custom_library_pre_insert_{$type}", $data ); -
apply_filters( 'analog_custom_library_public_name', 'Custom Library' ); -
apply_filters( 'analog_custom_library_remote_settings', array( array( 'title' => esc_html__( 'Remote Library Settings', 'analogwp-library' ), 'desc' => sprintf( '%s <a href="%s" target="_blank">%s</a>', esc_html__( 'Configure your library to share templates with other sites (Server mode) or connect to remote libraries (Client mode).', 'analogwp-library' ), 'https://analogwp.com/cl-docs/remote-library/?utm_source=plugin&utm_medium=link&utm_campaign=c... ); -
apply_filters( 'analog_custom_library_reports_settings', array( array( 'title' => esc_html__( 'Template Import Reports', 'analogwp-library' ), 'desc' => esc_html__( 'Track and analyze template imports across your sites. Monitor usage patterns and gain insights into your template library.', 'analogwp-library' ), 'type' => 'promo-title', 'id' => 'analog_custom_library_promo_reports_settings', ), array( 'id' => 'reports_tracking', 'title' => esc_html__(... ); -
do_action( "analog_custom_library_sections_{$current_tab}" ); -
do_action( "analog_custom_library_settings_{$current_tab}" ); -
analog_custom_library_settings_{sanitize_title($value['id'])}_after
action Copy link Customise this hookdo_action( "analog_custom_library_settings_{sanitize_title($value['id'])}_after" ); -
analog_custom_library_settings_{sanitize_title($value['id'])}_end
action Copy link Customise this hookdo_action( "analog_custom_library_settings_{sanitize_title($value['id'])}_end" ); -
apply_filters( 'analog_custom_library_settings_data', array( 'i18n_nav_warning' => __( 'The changes you made will be lost if you navigate away from this page.', 'analogwp-library' ), 'uploader_title' => __( 'Select Image', 'analogwp-library' ), 'uploader_btn_text' => __( 'Use this image', 'analogwp-library' ), ) ); -
apply_filters( "analog_custom_library_settings_form_method_tab_{$current_tab}", 'post' ); -
do_action( 'analog_custom_library_settings_output' ); -
do_action( 'analog_custom_library_settings_pages', $current_tab, $current_section ); -
do_action( "analog_custom_library_settings_save_{$current_tab}" ); -
do_action( 'analog_custom_library_settings_saved' ); -
do_action( 'analog_custom_library_settings_tabs' ); -
apply_filters( 'analog_custom_library_settings_tabs_array', array() ); -
do_action( 'analog_custom_library_sidebar_end' ); -
do_action( 'analog_custom_library_sidebar_plugin_info_section' ); -
do_action( 'analog_custom_library_sidebar_start' ); -
apply_filters( 'analog_custom_library_template_data', $template_data, $post_id ); -
apply_filters( 'analog_custom_library_tools_settings', array( array( 'id' => 'analog_custom_library_tools_title', 'type' => 'title', 'title' => __( 'Update Library Templates', 'analogwp-library' ), ), array( 'id' => 'update_outdated_templates', 'type' => 'action-button', 'title' => __( 'This action will update any templates found to be outdated in the Custom Library from their source template in Elementor template library.', 'analogwp-library' ), '... ); -
do_action( 'analog_custom_library_update_options' ); -
do_action( "analog_custom_library_update_options_{$current_tab}" ); -
apply_filters( 'analog_custom_library_version_control_settings', $rollback_controls ); -
apply_filters( 'analog/library/app/strings', array( 'is_settings_page' => false, 'library_title_text' => Plugin::instance()->has_pro_active() && $options->has( 'library_title_text' ) ? $options->get( 'library_title_text' ) : __( 'Library', 'analogwp-library' ), ) ); -
apply_filters( "ang_save_settings_{$current_tab}", ! empty( $_POST['save'] ) ); -
apply_filters( "ang_save_settings_{$current_tab}_{$current_section}", ! empty( $_POST['save'] ) ); -
apply_filters( 'image_size_names_choose', array( 'full' => __( 'Full Size', 'analogwp-library' ), 'thumbnail' => __( 'Thumbnail', 'analogwp-library' ), 'medium' => __( 'Medium', 'analogwp-library' ), 'large' => __( 'Large', 'analogwp-library' ), ) );
Generated from Custom Library for Elementor's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: