ShopEngine provides many PHP hooks for Builder Templates to change the default behavior or, even extend it with new functionalities.
Before Hooks: #
Hooks that are called Before the Template Contents.
/before_shop #
Applied to the 店 Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_shop', function () {
// your code here...
} );
/before_archive #
Applied to the アーカイブ Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_archive', function () {
// your code here...
} );
/before_single #
Applied to the シングル Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_single', function () {
// your code here...
} );
/before_cart #
Applied to the カート Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_cart', function () {
// your code here...
} );
/before_checkout #
Applied to the チェックアウト Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_checkout', function () {
// your code here...
} );
/before_my_account #
Applied to the 私のアカウント Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_my_account', function () {
// your code here...
} );
/before_order #
Applied to the Order / Thank You Page Builder Template.
add_action( 'shopengine/templates/elementor/content/before_order', function () {
// your code here...
} );
/before_quick_view #
Applied to the クイックビュー Modal Builder Template.
add_action( 'shopengine/templates/elementor/content/before_quick_view', function () {
// your code here...
} );
/before_quick_checkout #
Applied to the クイックチェックアウト Modal Builder Template.
add_action( 'shopengine/templates/elementor/content/before_quick_checkout', function () {
// your code here...
} );
After Hooks: #
Hooks that are called After the Template Contents.
/after_shop #
Applied to the 店 Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_shop', function () {
// your code here...
} );
/after_archive #
Applied to the アーカイブ Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_archive', function () {
// your code here...
} );
/after_single #
Applied to the シングル Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_single', function () {
// your code here...
} );
/after_cart #
Applied to the カート Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_cart', function () {
// your code here...
} );
/after_checkout #
Applied to the チェックアウト Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_checkout', function () {
// your code here...
} );
/after_my_account #
Applied to the 私のアカウント Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_my_account', function () {
// your code here...
} );
/after_order #
Applied to the Order / Thank You Page Builder Template.
add_action( 'shopengine/templates/elementor/content/after_order', function () {
// your code here...
} );
/after_quick_view #
Applied to the クイックビュー Modal Builder Template.
add_action( 'shopengine/templates/elementor/content/after_quick_view', function () {
// your code here...
} );
/after_quick_checkout #
Applied to the クイックチェックアウト Modal Builder Template.
add_action( 'shopengine/templates/elementor/content/after_quick_checkout', function () {
// your code here...
} );