BlossomThemes Toolkit 2.2.7 has 4 actions and 72 filters, read directly from its source code on Nov 17, 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 BlossomThemes Toolkit fires an action
add_action( 'bttk_after_portfolios', function() {
// Your code runs here.
}, 10, 1 );
// Change a value BlossomThemes Toolkit is about to use
add_filter( 'widget_title', function( $title, $instance, $id_base ) {
// Change $title here.
return $title;
}, 10, 3 );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
-
bttk_after_portfolios
action/** * Action after portfolios */ do_action( 'bttk_after_portfolios' ); -
bttk_before_portfolios
action/** * Action before portfolios */ do_action( 'bttk_before_portfolios' ); -
widget_title
filterapply_filters( 'widget_title', $title, $instance, $this->id_base ); -
apply_filters( 'bttk_social_icons_get_icon_name', $icon, $url ); -
apply_filters( 'bttk_social_icons_get_supported_url_icon', array( 'feed' => 'rss', 'ok.ru' => 'odnoklassniki', 'vk.com' => 'vk', 'last.fm' => 'lastfm', 'youtu.be' => 'youtube', 'battle.net' => 'battlenet', 'blogspot.com' => 'blogger', 'play.google.com' => 'play', 'plus.google.com' => 'google-plus', 'photos.google.com' => 'googlephotos', 'chrome.google.com' => 'chrome', 'scholar.google.com' => 'google-scholar', 'feedburner.google.com' => 'mail', ) ); -
author_bio_img_size
filterapply_filters( 'author_bio_img_size', 'full' ); -
bttk_bg_color
filterapply_filters( 'bttk_bg_color', '#fff' ); -
apply_filters( 'blossom_advertisement_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_author_bio_widget_filter', $html, $args, $instance ); -
blossom_companion_iw
filterapply_filters( 'blossom_companion_iw', $html, $args, $title, $image, $link ); -
apply_filters( 'blossom_contact_widget_filter', $html, $args, $instance ); -
blossom_cta_widget_filter
filterapply_filters( 'blossom_cta_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_custom_categories_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_facebook_page_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_featured_page_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_icontext_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_imagetext_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_pinterest_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_popular_post_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_posts_category_slider_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_recent_post_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_snapchat_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_socialmedia_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_stat_counter_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_team_member_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_testimonial_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossom_twitter_feeds_widget_filter', $html, $args, $instance ); -
apply_filters( 'blossomthemes_cta_button_alignment', $array ); -
apply_filters( 'blossomthemes_cta_button_numbers', $array ); -
apply_filters( 'blossomthemes_toolkit_js_async_files', array( plugin_dir_url( __FILE__ ) . 'js/isotope.pkgd.min.js', plugin_dir_url( __FILE__ ) . 'js/owl.carousel.min.js', plugin_dir_url( __FILE__ ) . 'js/odometer.min.js', plugin_dir_url( __FILE__ ) . 'js/waypoint.min.js', plugin_dir_url( __FILE__ ) . 'js/blossomthemes-toolkit-public.min.js', plugin_dir_url( __FILE__ ) . 'js/fontawesome/all.min.js', plugin_dir_url( __FILE__ ) . 'js/fontawesome/v4-s... ); -
bttk_ad_img_size
filterapply_filters( 'bttk_ad_img_size', 'full' ); -
bttk_add_popular_post_class
filterapply_filters( 'bttk_add_popular_post_class', $arr ); -
bttk_add_recent_post_class
filterapply_filters( 'bttk_add_recent_post_class', $arr ); -
bttk_address_class
filterapply_filters( 'bttk_address_class', '<i class="fa fa-map-marker"></i>' ); -
bttk_all_enqueue
filterapply_filters( 'bttk_all_enqueue', true ); -
bttk_background_svg_fill
filterapply_filters( 'bttk_background_svg_fill', 'fill:%23f2f2f2;' ); -
bttk_category_img_size
filterapply_filters( 'bttk_category_img_size', 'post-category-slider-size' ); -
bttk_ccw_img_size
filterapply_filters( 'bttk_ccw_img_size', 'post-slider-thumb-size' ); -
bttk_cl_img_size
filterapply_filters( 'bttk_cl_img_size', 'full' ); -
bttk_cta_bg_color
filterapply_filters( 'bttk_cta_bg_color', '#ffffff' ); -
bttk_cta_img_size
filterapply_filters( 'bttk_cta_img_size', 'full' ); -
bttk_custom_posts
filterapply_filters( 'bttk_custom_posts', $arr ); -
bttk_email_class
filterapply_filters( 'bttk_email_class', '<i class="fa fa-envelope"></i>' ); -
bttk_fallback_svg_fill
filterapply_filters( 'bttk_fallback_svg_fill', 'fill:#f2f2f2;' ); -
bttk_get_posttype_array
filterapply_filters( 'bttk_get_posttype_array', $posts ); -
bttk_get_theme_options
filterapply_filters( 'bttk_get_theme_options', $themes ); -
bttk_icon_img_size
filterapply_filters( 'bttk_icon_img_size', 'thumbnail' ); -
bttk_img_alignment
filterapply_filters( 'bttk_img_alignment', array( 'right' => __('Right','blossomthemes-toolkit'), 'left' => __('Left','blossomthemes-toolkit'), 'centered' => __('Centered','blossomthemes-toolkit') ) ); -
bttk_isotope_enqueue
filterapply_filters( 'bttk_isotope_enqueue', true ); -
bttk_it_img_size
filterapply_filters( 'bttk_it_img_size', 'post-slider-thumb-size' ); -
bttk_popular_post_size
filterapply_filters( 'bttk_popular_post_size', 'post-slider-thumb-size' ); -
bttk_portflio_image
filterapply_filters( 'bttk_portflio_image', 'full' ); -
bttk_portfolio_args
filterapply_filters( 'bttk_portfolio_args', array( 'post_type' => 'blossom-portfolio', 'post_status' => 'publish', 'posts_per_page' => -1 ) ); -
bttk_pro_exclude_categories
filterapply_filters( 'bttk_pro_exclude_categories', $cats ); -
bttk_public_assets_enqueue
filterapply_filters( 'bttk_public_assets_enqueue', true ); -
bttk_recent_post_size
filterapply_filters( 'bttk_recent_post_size', 'post-slider-thumb-size' ); -
bttk_sc
filterapply_filters( 'bttk_sc', $html, $args, $title, $icon, $counter, $ran ); -
bttk_shims_enqueue
filterapply_filters( 'bttk_shims_enqueue', true ); -
bttk_single_portfolio_image
filterapply_filters( 'bttk_single_portfolio_image', 'full' ); -
apply_filters( 'bttk_social_icons_allowed_socicon', array( 'modelmayhem', 'mixcloud', 'drupal', 'swarm', 'istock', 'yammer', 'ello', 'stackoverflow', 'persona', 'triplej', 'houzz', 'rss', 'paypal', 'odnoklassniki', 'airbnb', 'periscope', 'outlook', 'coderwall', 'tripadvisor', 'appnet', 'goodreads', 'tripit', 'lanyrd', 'slideshare', 'buffer', 'disqus', 'vk', 'whatsapp', 'patreon', 'storehouse', 'pocket', 'mail', 'blogger', 'technorati', 'reddit',... ); -
bttk_taxonomy_args
filterapply_filters( 'bttk_taxonomy_args', array( 'taxonomy' => 'blossom_portfolio_categories', 'orderby' => 'name', 'order' => 'ASC', ) ); -
apply_filters( 'bttk_team_member_icon_img_size', 'thumbnail' ); -
bttk_telephone_class
filterapply_filters( 'bttk_telephone_class', '<i class="fa fa-phone"></i>' ); -
apply_filters( 'bttk_testimonial_icon_img_size', 'thumbnail' ); -
bttk_twitter_bg_color
filterapply_filters( 'bttk_twitter_bg_color', '#ffffff' ); -
bttk_twitter_link_color
filterapply_filters( 'bttk_twitter_link_color', '#ffffff' ); -
cta_img_size
filterapply_filters( 'cta_img_size', 'full' ); -
featured_img_size
filterapply_filters( 'featured_img_size', 'full' ); -
posts_category_slider_speed
filterapply_filters( 'posts_category_slider_speed', '5000' ); -
apply_filters( 'social_icons_supported_url_icon', array( 'feed' => 'rss', 'ok.ru' => 'odnoklassniki', 'vk.com' => 'vk', 'last.fm' => 'lastfm', 'youtu.be' => 'youtube', 'battle.net' => 'battlenet', 'blogspot.com' => 'blogger', 'play.google.com' => 'play', 'plus.google.com' => 'google-plus', 'photos.google.com' => 'googlephotos', 'chrome.google.com' => 'chrome', 'scholar.google.com' => 'google-scholar', 'feedburner.google.com' => 'mail', ) ); -
the_excerpt
filterapply_filters( 'the_excerpt', get_the_excerpt( $post_no ) ); -
do_action( 'widget_blossomthemes_stat_counter_before_icon' ); -
do_action( 'widget_stat_counter_after_icon' );
Generated from BlossomThemes Toolkit's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: