LQThemes Companion 1.0.5 has 31 actions and 52 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 LQThemes Companion fires an action
add_action( 'import_end', function() {
// Your code runs here.
}, 10, 1 );
// Change a value LQThemes Companion is about to use
add_filter( 'elementor_pro/query_control/get_query_args/current_query', function( $current_query_vars ) {
// Change $current_query_vars here.
return $current_query_vars;
}, 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
-
/** * Complete the import. */ do_action( 'import_end' ); -
/** * Begin the import. */ do_action( 'import_start' ); -
/** * Comment has been imported. */ do_action( 'wp_import_insert_comment', $comment_id, $comment, $post_id, $post ); -
elementor_pro/query_control/get_query_args/current_query
filter Used by 2 plugins → Copy link Customise this hook/** * Current query variables. */ apply_filters( 'elementor_pro/query_control/get_query_args/current_query', $current_query_vars ); -
/** * Fires after term meta is imported. */ do_action( 'import_term_meta', $term_id, $key, $value ); -
/** * Filters the meta key for an imported piece of term meta. */ apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term ); -
/** * Filter ID of the existing post corresponding to post currently importing. */ apply_filters( 'wp_import_existing_post', $post_exists, $post ); -
/** * Filters the metadata attached to an imported term. */ apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term ); -
/** * Pre-process comment data */ apply_filters( 'wxr_importer.pre_process.comment', $comment, $post_id ); -
/** * Pre-process post data. */ apply_filters( 'wxr_importer.pre_process.post', $data, $meta, $comments, $terms ); -
/** * Pre-process post meta data. */ apply_filters( 'wxr_importer.pre_process.post_meta', $meta_item, $post_id ); -
/** * Pre-process term data. */ apply_filters( 'wxr_importer.pre_process.term', $data, $meta ); -
/** * Pre-process user data. */ apply_filters( 'wxr_importer.pre_process.user', $data, $meta ); -
wxr_importer.process_already_imported.comment
action Used by 12 plugins → Copy link Customise this hook/** * Comment processing already imported. */ do_action( 'wxr_importer.process_already_imported.comment', $comment ); -
wxr_importer.process_already_imported.post
action Used by 14 plugins → Copy link Customise this hook/** * Post processing already imported. */ do_action( 'wxr_importer.process_already_imported.post', $data ); -
wxr_importer.process_already_imported.term
action Used by 14 plugins → Copy link Customise this hook/** * Term processing already imported. */ do_action( 'wxr_importer.process_already_imported.term', $data ); -
/** * Post processing failed. */ do_action( 'wxr_importer.process_failed.post', $post_id, $data, $meta, $comments, $terms ); -
/** * Term processing failed. */ do_action( 'wxr_importer.process_failed.term', $result, $data, $meta ); -
/** * User processing failed. */ do_action( 'wxr_importer.process_failed.user', $user_id, $userdata ); -
/** * Post processing skipped. */ do_action( 'wxr_importer.process_skipped.post', $data, $meta ); -
/** * Post processing completed. */ do_action( 'wxr_importer.processed.comment', $comment_id, $comment, $meta, $post_id ); -
/** * Post processing completed. */ do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms ); -
/** * Term processing completed. */ do_action( 'wxr_importer.processed.term', $term_id, $data ); -
/** * User processing completed. */ do_action( 'wxr_importer.processed.user', $user_id, $userdata ); -
apply_filters( "butterbean_{$this->manager->name}_sanitize_{$this->name}", $value, $this ); -
apply_filters( 'import_attachment_size_limit', 0 ); -
do_action( 'import_post_meta', $post_id, $key, $value ); -
apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post ); -
apply_filters( 'lqthemes_after_template_title', '<span class="pro-template">Pro</span>' ); -
do_action( 'lqthemes_sites_import_xml_log', $level, $message, $context ); -
do_action( 'wp_import_insert_post', $post_id, $original_post_ID, $postdata, $post ); -
do_action( 'wp_import_insert_term', $t, $term, $post_id, $post ); -
do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post ); -
apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post ); -
apply_filters( 'wp_import_post_data_processed', $postdata, $post ); -
apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post ); -
do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post ); -
apply_filters( "butterbean_{$name}_template", $located, $slug ); -
apply_filters( "butterbean_{$name}_template_hierarchy", $templates, $slug ); -
apply_filters( 'butterbean_dir_path', trailingslashit( plugin_dir_path( __FILE__ ) ) ); -
apply_filters( 'butterbean_dir_uri', trailingslashit( plugin_dir_url( __FILE__ ) ) ); -
do_action( 'butterbean_enqueue_scripts' ); -
apply_filters( 'butterbean_is_control_active', $is_active, $this ); -
apply_filters( 'butterbean_is_section_active', $is_active, $this ); -
apply_filters( "butterbean_pre_{$name}_template", '', $slug ); -
do_action( 'butterbean_register', $this, $post_type ); -
apply_filters( 'import_allow_create_users', true ); -
apply_filters( 'import_allow_fetch_attachments', true ); -
apply_filters( 'lqthemes_elementor_sites_list', $sites_list ); -
apply_filters( 'lqthemes_elementor_templates_list', $templates_list ); -
apply_filters( 'lqthemes_gallery_metabox_post_types', array( 'post', ) ); -
apply_filters( 'lqthemes_glt_default', 'grid' ); -
apply_filters( 'lqthemes_google_font_enqueue_italics', true ); -
apply_filters( 'lqthemes_google_font_enqueue_weights', $weights, $font ); -
apply_filters( 'lqthemes_google_fonts_array', array('ABeeZee', 'Abel', 'Abril Fatface', 'Aclonica', 'Acme', 'Actor', 'Adamina', 'Advent Pro', 'Aguafina Script', 'Akronim', 'Aladin', 'Aldrich', 'Alef', 'Alegreya', 'Alegreya SC', 'Alegreya Sans', 'Alegreya Sans SC', 'Alex Brush', 'Alfa Slab One', 'Alice', 'Alike', 'Alike Angular', 'Allan', 'Allerta', 'Allerta Stencil', 'Allura', 'Almendra', 'Almendra Display', 'Almendra SC', 'Amarante', 'Ama... ); -
apply_filters( 'lqthemes_main_metaboxes_capabilities', 'manage_options' ); -
apply_filters( 'lqthemes_main_metaboxes_post_types', array( 'post', 'page', 'product', 'elementor_library', ) ); -
apply_filters( 'lqthemes_metaboxes_post_types_scripts', $this->post_types ); -
apply_filters( 'lqthemes_post_id', $id ); -
do_action( 'lqthemes_sites_import_customizer_settings' ); -
do_action( 'lqthemes_sites_import_options' ); -
do_action( 'lqthemes_sites_import_widgets' ); -
do_action( 'lqthemes_sites_import_wxr_data' ); -
apply_filters( 'lqthemes_sites_xml_import_options', array( 'fetch_attachments' => true, 'default_author' => get_current_user_id(), ) ); -
apply_filters( 'lqthemes_standard_fonts_array', array( 'Arial, Helvetica, sans-serif', 'Arial Black, Gadget, sans-serif', 'Bookman Old Style, serif', 'Comic Sans MS, cursive', 'Courier, monospace', 'Georgia, serif', 'Garamond, serif', 'Impact, Charcoal, sans-serif', 'Lucida Console, Monaco, monospace', 'Lucida Sans Unicode, Lucida Grande, sans-serif', 'MS Sans Serif, Geneva, sans-serif', 'MS Serif, New York, sans-serif', 'Palatino Linotype, ... ); -
apply_filters( 'lqthemes_theme_branding', esc_html__( 'Page Settings', 'lqthemes-companion' ) ); -
apply_filters( 'lqthemes_title_styles', array( '' => esc_html__( 'Default', 'lqthemes-companion' ), 'default' => esc_html__( 'Default Style', 'lqthemes-companion' ), 'centered' => esc_html__( 'Centered', 'lqthemes-companion' ), 'centered' => esc_html__( 'Centered', 'lqthemes-companion' ), 'centered-minimal' => esc_html__( 'Centered Minimal', 'lqthemes-companion' ), 'background-image' => esc_html__( 'Background Image', 'lqthemes-compa... ); -
apply_filters( 'template_directory_default_template', 'elementor_header_footer' ); -
do_action( 'wie_after_import' ); -
do_action( 'wie_after_widget_import', $after_widget_import ); -
apply_filters( 'wie_available_widgets', $available_widgets ); -
do_action( 'wie_before_import' ); -
apply_filters( 'wie_import_data', $data ); -
apply_filters( 'wie_import_results', $results ); -
apply_filters( 'wie_widget_settings', $widget ); -
apply_filters( 'wie_widget_settings_array', $widget ); -
apply_filters( 'wp_import_categories', $this->categories ); -
apply_filters( 'wp_import_post_data_raw', $post ); -
do_action( 'wp_import_post_exists', $post ); -
apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post ); -
apply_filters( 'wp_import_posts', $this->posts ); -
apply_filters( 'wp_import_tags', $this->tags ); -
apply_filters( 'wp_import_terms', $this->terms );
Generated from LQThemes Companion'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: