Theme Hooks (Actions & Filters)

Table of Contents

Actions

52 actions

Filters

30 actions

Type: action

Files:

  • template-parts/footer/footer-absolute.php:43

Back to top

Type: action

Files:

  • template-parts/footer/footer-absolute.php:9

Back to top

Type: action

Files:

  • woocommerce/myaccount/dashboard-links.php:21
  • woocommerce/myaccount/account-links.php:27

Back to top

flatsome_after_404

Type: action

Files:

  • 404.php:36

Back to top

flatsome_after_account_user

Type: action

Files:

  • woocommerce/myaccount/account-user.php:16

Back to top

flatsome_after_blog

Type: action

Files:

  • template-parts/posts/layout-left-sidebar.php:30
  • template-parts/posts/layout-right-sidebar.php:30
  • template-parts/posts/layout.php:24

Back to top

flatsome_after_body_open

Type: action

Files:

  • header.php:15

Back to top

flatsome_after_breadcrumb

Type: action

Files:

  • woocommerce/global/breadcrumb.php:51
  • inc/integrations/wp-seo/class-wp-seo.php:119

Back to top

Type: action

Files:

  • template-parts/footer/footer.php:21

Back to top

flatsome_after_header

Type: action

Files:

  • single-blocks.php:22
  • page-blank-landingpage.php:18
  • header.php:30

Back to top

flatsome_after_header_bottom

Type: action

Files:

  • template-parts/header/header-bottom.php:42

Back to top

flatsome_after_page

Type: action

Files:

  • page-blank-sub-nav-vertical.php:53
  • page-blank-title-center.php:33
  • page-transparent-header-light.php:17
  • page-right-sidebar.php:37
  • page-single-page-nav.php:17
  • single-blocks.php:34
  • page-blank-landingpage.php:30
  • page-blank.php:19
  • page-my-account.php:48
  • page-left-sidebar.php:36
  • page-transparent-header.php:17
  • page.php:46
  • page-single-page-nav-transparent.php:17
  • page-header-on-scroll.php:18
  • page-single-page-nav-transparent-light.php:17

Back to top

flatsome_after_page_content

Type: action

Files:

  • page.php:38

Back to top

flatsome_after_product_images

Type: action

Files:

  • woocommerce/single-product/product-image-stacked.php:90
  • woocommerce/single-product/product-image-wide.php:92
  • woocommerce/single-product/product-image.php:113
  • woocommerce/single-product/product-image-vertical.php:91

Back to top

flatsome_after_product_page

Type: action

Files:

  • woocommerce/single-product.php:55

Back to top

flatsome_before_404

Type: action

Files:

  • 404.php:11

Back to top

flatsome_before_blog

Type: action

Files:

  • template-parts/posts/layout-left-sidebar.php:2
  • template-parts/posts/layout-right-sidebar.php:2
  • template-parts/posts/layout.php:2

Back to top

flatsome_before_breadcrumb

Type: action

Files:

  • woocommerce/global/breadcrumb.php:17
  • inc/integrations/wp-seo/class-wp-seo.php:117

Back to top

flatsome_before_comments

Type: action

Files:

  • comments.php:23

Back to top

Type: action

Files:

  • template-parts/footer/footer.php:1

Back to top

flatsome_before_header

Type: action

Files:

  • header.php:22

Back to top

flatsome_before_page

Type: action

Files:

  • page-blank-sub-nav-vertical.php:7
  • page-blank-title-center.php:8
  • page-transparent-header-light.php:7
  • page-right-sidebar.php:7
  • page-single-page-nav.php:7
  • single-blocks.php:21
  • page-blank-landingpage.php:17
  • page-blank.php:7
  • page-my-account.php:9
  • page-left-sidebar.php:7
  • page-transparent-header.php:7
  • page.php:18
  • page-single-page-nav-transparent.php:7
  • page-header-on-scroll.php:8
  • page-single-page-nav-transparent-light.php:7

Back to top

flatsome_before_page_content

Type: action

Files:

  • page.php:31

Back to top

flatsome_before_product_images

Type: action

Files:

  • woocommerce/single-product/product-image-stacked.php:51
  • woocommerce/single-product/product-image-wide.php:41
  • woocommerce/single-product/product-image.php:71
  • woocommerce/single-product/product-image-vertical.php:48

Back to top

flatsome_before_product_page

Type: action

Files:

  • woocommerce/single-product.php:18

Back to top

flatsome_before_product_sidebar

Type: action

Files:

  • woocommerce/content-single-product-custom.php:41
  • woocommerce/single-product/layouts/product-right-sidebar-full.php:4
  • woocommerce/single-product/layouts/product-left-sidebar-small.php:7
  • woocommerce/single-product/layouts/product.php:38
  • woocommerce/single-product/layouts/product-left-sidebar.php:39
  • woocommerce/single-product/layouts/product-stacked-right.php:46
  • woocommerce/single-product/layouts/product-right-sidebar.php:39
  • woocommerce/single-product/layouts/product-no-sidebar.php:39
  • woocommerce/single-product/layouts/product-left-sidebar-full.php:6

Back to top

flatsome_before_single_product_custom

Type: action

Files:

  • woocommerce/content-single-product-custom.php:25

Since: 3.12.0

Back to top

flatsome_blog_post_after

Type: action

Files:

  • inc/shortcodes/blog_posts.php:293

Back to top

flatsome_blog_post_before

Type: action

Files:

  • inc/shortcodes/blog_posts.php:254

Back to top

flatsome_breadcrumb

Type: action

Files:

  • inc/functions/fl-template-functions.php:24

Back to top

flatsome_cart_sidebar

Type: action

Files:

  • woocommerce/cart/cart.php:210
  • template-parts/header/partials/element-cart-mobile.php:58
  • template-parts/header/partials/element-cart-sidebar.php:42
  • template-parts/header/partials/element-cart.php:85

Back to top

flatsome_category_title

Type: action

Files:

  • woocommerce/layouts/headers/category-title-featured.php:10
  • woocommerce/layouts/headers/category-title-featured-center.php:13
  • woocommerce/layouts/headers/category-title.php:4

Back to top

flatsome_category_title_alt

Type: action

Files:

  • woocommerce/layouts/headers/category-title-featured.php:14
  • woocommerce/layouts/headers/category-title-featured-center.php:16
  • woocommerce/layouts/headers/category-title.php:7

Doc: https://docs.uxthemes.com/article/350-woocommerce-shop-page-result-count-and-ordering-dropdown

Back to top

Type: action

Files:

  • footer.php:15

Back to top

flatsome_header_background

Type: action

Files:

  • template-parts/header/header-wrapper.php:15

Back to top

flatsome_header_elements

Type: action

Files:

  • inc/structure/structure-header.php:100

Back to top

flatsome_header_wrapper

Type: action

Files:

  • template-parts/header/header-wrapper.php:18

Back to top

flatsome_portfolio_title_after

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:22
  • template-parts/portfolio/portfolio-title-featured.php:14

Back to top

flatsome_portfolio_title_left

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:12

Back to top

flatsome_portfolio_title_right

Type: action

Files:

  • template-parts/portfolio/archive-portfolio-title-featured.php:25

Back to top

flatsome_product_box_actions

Type: action

Files:

  • woocommerce/content-product.php:70
  • inc/shortcodes/ux_products.php:306
  • inc/shortcodes/ux_products.php:326

Back to top

flatsome_product_box_after

Type: action

Files:

  • woocommerce/content-product.php:88
  • inc/shortcodes/ux_products.php:330

Back to top

flatsome_product_box_tools_bottom

Type: action

Files:

  • woocommerce/content-product.php:67

Back to top

flatsome_product_box_tools_top

Type: action

Files:

  • woocommerce/content-product.php:64
  • inc/shortcodes/ux_products.php:302

Back to top

flatsome_product_image_tools_bottom

Type: action

Files:

  • woocommerce/single-product/product-image-wide.php:85
  • woocommerce/single-product/product-image.php:110
  • woocommerce/single-product/product-image-vertical.php:88

Back to top

flatsome_product_image_tools_top

Type: action

Files:

  • woocommerce/single-product/product-image-default.php:41
  • woocommerce/single-product/product-image-stacked.php:58
  • woocommerce/single-product/product-image-wide.php:86
  • woocommerce/single-product/product-image.php:78
  • woocommerce/single-product/product-image-vertical.php:55

Back to top

flatsome_product_title

Type: action

Files:

  • woocommerce/single-product/headers/header-product-featured-center.php:13
  • woocommerce/single-product/headers/header-product-top.php:4
  • woocommerce/single-product/headers/header-product-featured.php:10

Back to top

flatsome_product_title_tools

Type: action

Files:

  • woocommerce/single-product/headers/header-product-featured-center.php:16
  • woocommerce/single-product/headers/header-product-top.php:8
  • woocommerce/single-product/headers/header-product-featured.php:14

Back to top

flatsome_products_after

Type: action

Files:

  • woocommerce/layouts/category.php:93
  • woocommerce/layouts/category-none.php:82
  • woocommerce/layouts/category-right-sidebar.php:82
  • woocommerce/layouts/category-off-canvas.php:82

Back to top

flatsome_products_before

Type: action

Files:

  • woocommerce/layouts/category-none.php:5
  • woocommerce/layouts/category-right-sidebar.php:5
  • woocommerce/layouts/category-off-canvas.php:5

Back to top

flatsome_sale_flash

Type: action

Files:

  • woocommerce/single-product/product-image-default.php:38
  • woocommerce/single-product/product-image-stacked.php:55
  • woocommerce/single-product/product-image-wide.php:46
  • woocommerce/single-product/product-image.php:75
  • woocommerce/single-product/product-image-vertical.php:52

Back to top

flatsome_woocommerce_shop_loop_images

Type: action

Files:

  • woocommerce/content-product.php:59

Back to top

flatsome_ajax_search_function

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:26
  • inc/extensions/flatsome-live-search/flatsome-live-search.php:72

Back to top

flatsome_ajax_search_post_type

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:23

Back to top

flatsome_ajax_search_products_by_sku_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:61

Back to top

flatsome_ajax_search_products_by_tag_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:58

Back to top

flatsome_ajax_search_products_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:54

Back to top

flatsome_ajax_search_query

Type: filter

Files:

  • inc/extensions/flatsome-live-search/flatsome-live-search.php:22
  • inc/extensions/flatsome-live-search/flatsome-live-search.php:132

Back to top

flatsome_attachment_size

Type: filter

Files:

  • image.php:79

Back to top

flatsome_before_body_close_priority

Type: filter

Files:

  • inc/structure/structure-footer.php:107

Back to top

flatsome_custom_product_single_product_hooks

Type: filter

Files:

  • inc/builder/shortcodes/custom-product.php:212

Back to top

flatsome_disable_mini_cart

Type: filter

Files:

  • template-parts/header/partials/element-cart-mobile.php:9
  • template-parts/header/partials/element-cart.php:11

Back to top

flatsome_dummy_text

Type: filter

Files:

  • inc/helpers/helpers-frontend.php:64

Back to top

flatsome_header_class

Type: filter

Files:

  • inc/structure/structure-header.php:784

Back to top

flatsome_header_element

Type: filter

Files:

  • inc/admin/options/helpers/options-helpers.php:48

Back to top

flatsome_header_title_class

Type: filter

Files:

  • inc/structure/structure-header.php:804

Back to top

flatsome_infinite_scroll_params

Type: filter

Files:

  • inc/extensions/flatsome-infinite-scroll/class-flatsome-infinite-scroll.php:102

Since: 3.6.2

Doc: https://docs.uxthemes.com/article/316-infinite-scroll-disable-history

Back to top

flatsome_lightbox_close_btn_inside

Type: filter

Files:

  • inc/functions/function-setup.php:176

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/378-lightbox-close-button

Back to top

flatsome_lightbox_close_button

Type: filter

Files:

  • inc/functions/function-setup.php:167

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/378-lightbox-close-button

Back to top

flatsome_main_class

Type: filter

Files:

  • inc/structure/structure-header.php:794

Back to top

flatsome_payment_icons

Type: filter

Files:

  • inc/woocommerce/structure-wc-global.php:485

Since: 3.9.0

Doc: https://docs.uxthemes.com/article/351-paymenticons

Back to top

flatsome_product_block

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:99

Since: 3.12.0

Doc: https://docs.uxthemes.com/article/389-custom-product-page

Back to top

flatsome_product_block_primary_term_id

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:13

Since: 3.12.0

Back to top

flatsome_product_block_product_terms_args

Type: filter

Files:

  • inc/helpers/helpers-woocommerce.php:23

Since: 3.12.0

Back to top

flatsome_product_labels

Type: filter

Files:

  • woocommerce/single-product/sale-flash.php:44
  • woocommerce/loop/sale-flash.php:43

Back to top

flatsome_sidebar_class

Type: filter

Files:

  • inc/structure/structure-sidebars.php:5

Back to top

flatsome_sticky_add_to_cart_enabled

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-page.php:248
  • inc/woocommerce/structure-wc-product-page.php:275

Since: 3.13.0

Back to top

flatsome_text_formats

Type: filter

Files:

  • inc/structure/structure-admin.php:477

Back to top

flatsome_viewport_meta

Type: filter

Files:

  • inc/structure/structure-header.php:17

Since: 3.9.0

Back to top

flatsome_woocommerce_get_alt_product_thumbnail

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-box.php:67

Back to top

flatsome_woocommerce_shop_loop_category

Type: filter

Files:

  • inc/woocommerce/structure-wc-product-box.php:107

Back to top

flatsome_wpseo_breadcrumb_remove_last

Type: filter

Files:

  • inc/integrations/wp-seo/class-wp-seo.php:52

Back to top


Version: 3.13.0