Filters & Actions Reference

 
 
 
 

Hooks available for child theme and plugin customization.

Method provides a set of filters and actions that allow child themes and plugins to modify block behavior, extend configuration, and inject custom functionality without editing the parent theme.

Filters

method_available_social_platforms

Modify the list of available social media platforms and their icons.

method_block_theme_button_styles

Register secondary button style presets for the Theme Button block.

method_block_theme_button_styles_label

Customize the label for the Theme Button style selector.

method_block_theme_label_styles

Register label style options for the Theme Button block.

method_block_theme_button_icons

Register selectable icon options for the Theme Button block.

method_block_theme_button_before_label

Set default icon HTML displayed before the Theme Button label.

method_block_theme_button_after_label

Set default icon HTML displayed after the Theme Button label.

Actions

method_options_before_fields

Inject custom CMB2 fields at the top of the Method Settings page.