do_action( 'make_api_loaded', $Make );
Action: Fire when the Make API has finished loading.
- $Make: (MAKE_API)
- Since: 1.7.0.
do_action( 'make_notice_loaded', $notice );
Action: Fires at the end of the Admin Notice object's load method. This action gives a developer the opportunity to add additional admin notices and run additional load routines.
- $notice: (MAKE_Admin_Notice) The notice object that has just finished loading.
- Since: 1.7.0.
do_action( 'make_section_' . $ttfmake_section_data['section']['id'] . '_before', $ttfmake_section_data );
Allow for script execution in the header of a builder section. This action is a variable action that allows a developer to hook into specific section types (e.g., 'text'). Do not confuse "id" in this context as the individual section id (e.g., 14092814910).
- $ttfmake_section_data: (array) The array of data for the section.
- Since: 1.2.3.
do_action( 'make_section_' . $ttfmake_section_data['section']['id'] . '_after', $ttfmake_section_data );
Allow for script execution in the footer of a builder section. This action is a variable action that allows a developer to hook into specific section types (e.g., 'text'). Do not confuse "id" in this context as the individual section id (e.g., 14092814910).
- $ttfmake_section_data: (array) The array of data for the section.
- Since: 1.2.3.
do_action( 'make_builder_data_saved', $sections, $post_id );
Execute code after the section data is saved. While it is possible to use a "save_post" to hook into the save routine, this action is preferred as it is only called after all validation and sanitization is completed.
-
$sections: (array) The clean section data.
-
$post_id: (int) The post ID for the saved data.
- Since: 1.2.3.
do_action( 'make_before_builder_menu' );
Execute code before the builder menu items are displayed.
- Since: 1.2.3.
do_action( 'make_after_builder_menu' );
Execute code after the builder menu items are displayed.
- Since: 1.2.3.
do_action( 'make_before_section_header' );
Execute code before the section header is displayed.
- Since: 1.2.3.
do_action( 'make_after_builder_stage' );
Execute code after the builder stage is displayed.
- Since: 1.2.3.
do_action( 'make_section_text_before_column', $ttfmake_section_data );
Execute code before an individual text column is displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_section_text_after_column', $ttfmake_section_data );
Execute code after an individual text column is displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_section_text_before_columns_select', $ttfmake_section_data );
Execute code before the columns select input is displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_section_text_after_columns_select', $ttfmake_section_data );
Execute code after the columns select input is displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_section_text_after_title', $ttfmake_section_data );
Execute code after the section title is displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_section_text_after_columns', $ttfmake_section_data );
Execute code after all columns are displayed.
- $ttfmake_section_data: (array) The data for the section.
- Since: 1.2.3.
do_action( 'make_builder_' . $data['section-type'] . '_css', $data, $id, $style );
Allow section-specific CSS rules to be added to the document head of a Builder page.
-
$data: (array) The Builder section's data.
-
$id: (int) The ID of the Builder section.
-
$style: (MAKE_Style_ManagerInterface) The style manager instance.
-
Since: 1.4.5
-
Since: 1.7.0.
do_action( 'make_choices_loaded', $choices );
Action: Fires at the end of the choices object's load method. This action gives a developer the opportunity to add or modify choice sets and run additional load routines.
- $choices: (MAKE_Choices_Manager) The choices object that has just finished loading.
- Since: 1.7.0.
do_action( 'make_deprecated_function_run', $function, $version, $replacement, $message );
Fires when a deprecated function is called.
-
$function: (string) The function that was called.
-
$version: (string) The version of Make that deprecated the function.
-
$replacement: (string) The function that should have been called.
-
$message: (string) Explanatory text if there is no direct replacement available.
- Since: 1.7.0.
do_action( 'make_deprecated_hook_run', $hook, $version, $message );
Fires when a deprecated hook has an attached functionmethod.
-
$hook: (string) The hook that was called.
-
$version: (string) The version of Make that deprecated the hook.
-
$message: (string) Optional. A message regarding the change. Default null.
- Since: 1.7.0.
do_action( 'make_doing_it_wrong_run', $function, $message, $version );
Fires when the given function is being used incorrectly.
-
$function: (string) The function that was called.
-
$message: (string) A message explaining what has been done incorrectly.
-
$version: (string) The version of Make where the message was added.
- Since: 1.7.0.
do_action( 'make_font_loaded', $font );
Action: Fires at the end of the font object's load method. This action gives a developer the opportunity to add font sources and run additional load routines.
- $font: (MAKE_Font_Manager) The font object that has just finished loading.
- Since: 1.7.0.
do_action( 'make_add_formats', $formatting );
Action: Fires at the end of the Formatting object's add_formats method. This action gives a developer the opportunity to add or remove formats.
- $formatting: (MAKE_Formatting_Manager) The Formatting object.
- Since: 1.7.0.
do_action( 'make_view_loaded', $view );
Action: Fires at the end of the view object's load method. This action gives a developer the opportunity to add or modify views and run additional load routines.
- $view: (MAKE_Layout_View) The view object that has just finished loading.
- Since: 1.7.0.
do_action( 'make_settings_thememod_loaded', $settings );
Action: Fires at the end of the ThemeMod settings object's load method. This action gives a developer the opportunity to add or modify setting definitions and run additional load routines.
- $settings: (MAKE_Settings_ThemeMod) The settings object that has just finished loading.
- Since: 1.7.0.
do_action( "make_socialicons_loaded", $socialicons );
Action: Fires at the end of the Social Icons object's load method. This action gives a developer the opportunity to add or modify icon definitions and run additional load routines.
- $socialicons: (MAKE_SocialIcons_Manager) The settings object that has just finished loading.
- Since: 1.7.0.
do_action( 'make_style_before_load', $style );
Action: Fires before the Style class loads data files. This allows, for example, for filters to be added to thememod settings to change the values before the style definitions are loaded.
- $style: (MAKE_Style_ManagerInterface) The style object.
- Since: 1.7.0.
do_action( 'make_css' );
The hook used to add CSS rules for the generated inline CSS. This hook is the correct hook to use for adding CSS styles to the group of selectors and properties that will be added to inline CSS that is printed in the head. Hooking elsewhere may lead to rules not being registered correctly for the CSS generation. Most Customizer options will use this hook to register additional CSS rules.
- Since: 1.2.3.
do_action( 'make_style_loaded', $style );
Action: Fires at the end of the Styles object's load method. This action gives a developer the opportunity to add or modify dynamic styles and run additional load routines.
- $style: (MAKE_Style_Manager) The style object
- Since: 1.7.0.
do_action( 'make_style_before_inline', $style );
Action: Fires before the inline CSS rules are rendered and output.
- $style: (MAKE_Style_ManagerInterface) The style object.
- Since: 1.7.0.
do_action( 'make_style_before_file', $style );
Action: Fires before the CSS rules are rendered and output as a file.
- $style: (MAKE_Style_ManagerInterface) The style object.
- Since: 1.7.0.
apply_filters( 'make_template_content_archive', $type, $post );
Allow for changing the template partial.
-
$type: (string) The default template type to use.
-
$post: (WP_Post) The post object for the current post.
- Since: 1.2.3.
apply_filters( 'make_add_section', $section );
Allow the added sections to be filtered. This filters allows for dynamically altering sections as they get added. This can help enforce policies for sections by sanitizing the registered values.
- $section: (array) The section being added.
- Since: 1.2.3.
apply_filters( 'make_builder_js_dependencies', $dependencies );
Filter the dependencies for the Make builder JS.
- $dependencies: (array) The list of dependencies.
- Since: 1.2.3.
apply_filters( 'make_builder_is_default', $is_default );
Filter: Modify whether new pages default to the Builder template.
- $is_default: (bool)
- Since: 1.7.0.
apply_filters( 'make_will_be_builder_page', $will_be_builder_page, $template, $use_builder );
Allow developers to dynamically change the builder page status.
-
$will_be_builder_page: (bool) Whether or not this page will be a builder page.
-
$template: (string) The template name.
-
$use_builder: (int) Value of the "use-builder" input. 1 === use builder. 0 === do not use builder.
- Since: 1.2.3.
apply_filters( 'make_load_section_template', $templates, $slug, $path );
Filter the templates to try and load.
-
$templates: (array) The list of template to try and load.
-
$slug: (string) The template slug.
-
$path: (string) The path to the template.
- Since: 1.2.3.
apply_filters( 'make_get_wp_editor_id', $id, $data, $is_js_template );
Alter the wp_editor ID.
-
$id: (string) The ID for the editor.
-
$data: (array) The section data.
-
$is_js_template: (bool) Whether or not this is in the context of a JS template.
- Since: 1.2.3.
apply_filters( 'make_get_section_name', $name, $data, $is_js_template );
Alter section name.
-
$name: (string) The name of the section.
-
$data: (array) The section data.
-
$is_js_template: (bool) Whether or not this is in the context of a JS template.
- Since: 1.2.3.
apply_filters( 'make_get_image', $return, $image_id, $size );
Filter the image HTML.
-
$return: (string) The image HTML.
-
$image_id: (int) The ID for the image.
-
$size: (bool) The requested image size.
- Since: 1.2.3.
apply_filters( 'make_get_image_src', $src, $image_id, $size );
Filter the image source attributes.
-
$src: (string) The image source attributes.
-
$image_id: (int) The ID for the image.
-
$size: (bool) The requested image size.
- Since: 1.2.3.
apply_filters( 'make_get_placeholder_image', $return, $image_id, $ttfmake_placeholder_images );
Filter the image source attributes.
-
$return: (string) The image source attributes.
-
$image_id: (int) The ID for the image.
-
$ttfmake_placeholder_images: (bool) The list of placeholder images.
- Since: 1.2.3.
apply_filters( 'make_get_section_json', $section );
Filters the json representation of a single section. This filters allows for dynamically altering this section json representation.
- $section: (array) The section being jsonified.
- Since: 1.8.0
apply_filters( 'make_configuration_overlay_input_wrap', $wrapper, $args, $section_data );
Filter the wrapped used for the inputs.
-
$wrapper: (string) The HTML to wrap around the input.
-
$args: (string) The input data that is wrapped.
-
$section_data: (string) The data for the section.
- Since: 1.4.0.
apply_filters( 'make_configuration_overlay_input', $this_output, $args, $section_data );
Filter the HTML for the input.
-
$this_output: (string) The HTML for the input.
-
$args: (string) The input data.
-
$section_data: (string) The data for the section.
- Since: 1.4.0.
apply_filters( 'make_prepare_data', $clean_sections, $sections );
Filter the full set of data for a post.
-
$clean_sections: (array) The clean sections.
-
$sections: (array) The raw sections.
- Since: 1.2.3.
apply_filters( 'make_insert_post_data_sections', $data );
Filter the section data.
- $data: (array) The sanitized data.
- Since: 1.2.3.
apply_filters( 'make_generate_post_content', $post_content, $data );
Filter the generated post content. This content is the full HTML version of the content that will be saved as "post_content".
-
$post_content: (string) The fully generated post content.
-
$data: (array) The data used to generate the content.
- Since: 1.2.3.
apply_filters( 'make_get_next_section_data', $next_data, $current_section, $sections );
Allow developers to alter the "next" section data.
-
$next_data: (array) The data for the next section.
-
$current_section: (array) The data for the current section.
-
$sections: (array) The list of all sections.
- Since: 1.2.3.
apply_filters( 'make_get_prev_section_data', $prev_section, $current_section, $sections );
Allow developers to alter the "next" section data.
-
$prev_section: (array) The data for the next section.
-
$current_section: (array) The data for the current section.
-
$sections: (array) The list of all sections.
- Since: 1.2.3.
apply_filters( 'make_section_html_id', $section_id, $current_section );
Filter the section wrapper's HTML id attribute.
-
$section_id: (string) The string used in the section's HTML id attribute.
-
$current_section: (array) The data for the section.
- Since: 1.6.0.
apply_filters( 'make_section_classes', $classes, $current_section );
Filter the section classes.
-
$classes: (string) The sting of classes.
-
$current_section: (array) The array of data for the current section.
- Since: 1.2.3.
apply_filters( 'ttfmake_the_builder_content', $content );
Filter the content used for "post_content" when the builder is used to generate content.
- $content: (string) The post content.
- Since: 1.2.3.
apply_filters( 'make_the_builder_content', $content );
Filter the content used for "post_content" when the builder is used to generate content.
- $content: (string) The post content.
- Since: 1.2.3.
apply_filters( 'ttfmake_builder_section_footer_links', $links );
Deprecated: Filter the definitions for the links that appear in each Builder section's footer. This filter is deprecated. Use make_builder_section_links instead.
- $links: (array) The link definition array.
- Since: 1.0.7.
apply_filters( 'make_builder_section_links', $links );
Filter the definitions for the buttons that appear in each Builder section's header.
- $links: (array) The button definition array.
- Since: 1.4.0.
apply_filters( 'make_banner_slide_configuration', $inputs );
Filter the definitions of the Banner slide configuration inputs.
- $inputs: (array) The input definition array.
- Since: 1.4.0.
apply_filters( 'make_column_buttons', $column_buttons, $item_type );
Filter the buttons added to a text column.
-
$column_buttons: (array) The current list of buttons.
-
$item_type: (string) Item type, in this case 'column'.
-
Since: 1.4.0.
-
Since: 1.8.8.
apply_filters( 'ttfmake-text-column-classes', $column_classes, $i, $ttfmake_section_data );
Filter the classes applied to each column in a Columns section.
-
$column_classes: (string) The classes for the column.
-
$i: (int) The column number.
-
$ttfmake_section_data: (array) The array of data for the section.
- Since: 1.2.0.
apply_filters( 'make_gallery_item_configuration', $inputs );
Filter the definitions of the Gallery item configuration inputs.
- $inputs: (array) The input definition array.
- Since: 1.4.0.
apply_filters( 'make_section_defaults', $defaults );
Filter the section defaults.
- $defaults: (array) The default section data
- Since: 1.2.3.
apply_filters( 'make_section_choices', $choices, $key, $section_type );
Filter the section choices.
-
$choices: (array) The default section choices.
-
$key: (string) The key for the data.
-
$section_type: (string) The type of section this relates to.
- Since: 1.2.3.
apply_filters( 'make_get_section_default', $value, $key, $section_type );
Filter the default section data that is received.
-
$value: (mixed) The section value.
-
$key: (string) The key to get data for.
-
$section_type: (string) The type of section the data is for.
- Since: 1.2.3.
apply_filters( 'make_sanitize_section_choice', $value, $key, $section_type );
Allow developers to alter a section choice during the sanitization process.
-
$value: (mixed) The value for the section choice.
-
$key: (string) The key for the section choice.
-
$section_type: (string) The section type.
- Since: 1.2.3.
apply_filters( 'make_builder_is_section_type', $is_section_type, $type, $data );
Allow developers to alter if a set of data is a specified section type.
-
$is_section_type: (bool) Whether or not the data represents a specific section.
-
$type: (string) The section type to check.
-
$data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_builder_get_gallery_array', $gallery_array, $ttfmake_section_data );
Filter the gallery item data.
-
$gallery_array: (array) The array of gallery item data.
-
$ttfmake_section_data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_gallery_class', $gallery_class, $ttfmake_section_data, $sections );
Filter the class applied to a gallery.
-
$gallery_class: (string) The class applied to the gallery.
-
$ttfmake_section_data: (array) The section data.
-
$sections: (array) The list of sections.
- Since: 1.2.3.
apply_filters( 'make_builder_get_gallery_style', $gallery_style, $ttfmake_section_data );
Filter the style added to a gallery section.
-
$gallery_style: (string) The style applied to the gallery.
-
$ttfmake_section_data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_builder_get_gallery_item_class', $gallery_class, $item, $ttfmake_section_data, $i );
Filter the class used for a gallery item.
-
$gallery_class: (string) The computed gallery class.
-
$item: (array) The item's data.
-
$ttfmake_section_data: (array) The section data.
-
$i: (int) The current gallery item number.
- Since: 1.2.3.
apply_filters( 'make_builder_get_gallery_item_onclick', $onclick, $link, $ttfmake_section_data, $i );
Filter the class used for a gallery item.
-
$onclick: (string) The computed gallery onclick attribute.
-
$link: (string) The item's link.
-
$ttfmake_section_data: (array) The section data.
-
$i: (int) The current gallery item number.
- Since: 1.7.6.
apply_filters( 'make_builder_get_gallery_item_image', $image, $item, $aspect );
Alter the generated gallery image.
-
$image: (string) The image HTML.
-
$item: (array) The item's data.
-
$aspect: (string) The aspect ratio for the section.
- Since: 1.2.3.
apply_filters( 'make_builder_get_text_array', $columns_array, $ttfmake_section_data );
Filter the array of builder data for the text section.
-
$columns_array: (array) The ordered data for the text section.
-
$ttfmake_section_data: (array) The raw section data.
- Since: 1.2.3.
apply_filters( 'make_builder_get_text_class', $text_class, $ttfmake_section_data, $sections );
Filter the text section class.
-
$text_class: (string) The computed class string.
-
$ttfmake_section_data: (array) The section data.
-
$sections: (array) The list of sections.
- Since: 1.2.3.
apply_filters( 'make_builder_get_banner_array', $banner_array, $ttfmake_section_data );
Filter the data array for a banner section.
-
$banner_array: (array) The ordered banner data.
-
$ttfmake_section_data: (array) All of the data for the section.
- Since: 1.2.3.
apply_filters( 'make_builder_banner_class', $banner_class, $ttfmake_section_data );
Filter the class for the banner section.
-
$banner_class: (string) The banner class.
-
$ttfmake_section_data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_builder_get_banner_slider_atts', $data_attributes, $ttfmake_section_data );
Allow for altering the banner slider attributes.
-
$data_attributes: (string) The data attributes in string form.
-
$ttfmake_section_data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_builder_banner_slide_class', $slide_class );
Allow developers to alter the class for the banner slide.
- $slide_class: (string) The banner classes.
- Since: 1.2.3.
apply_filters( 'make_builder_banner_slide_style', $slide_style, $slide, $ttfmake_section_data );
Allow developers to change the CSS for a Banner section.
-
$slide_style: (string) The CSS for the banner.
-
$slide: (array) The slide data.
-
$ttfmake_section_data: (array) The section data.
- Since: 1.2.3.
apply_filters( 'make_section_html_id' );
This filter is documented in incbuildercoresave.php
apply_filters( 'make_get_section_data', $ordered_data, $post_id );
Filter the section data for a post.
-
$ordered_data: (array) The array of section data.
-
$post_id: (int) The post ID for the retrieved data.
- Since: 1.2.3.
apply_filters( 'make_is_builder_page', $is_builder_page, $post_id );
Allow a developer to dynamically change whether the post uses the builder or not.
-
$is_builder_page: (bool) Whether or not the post uses the builder.
-
$post_id: (int) The ID of post being evaluated.
- Since: 1.2.3
apply_filters( 'make_customizer_key_conversions', $conversions );
Filter the array of Customizer option key conversions. The keys for some Customizer options have changed between versions. This array defines each change as $new_key => $old key.
- $conversions: (array) The array of key conversions.
- Since: 1.3.0.
apply_filters( 'make_compatibility_mode', $mode );
Filter: Set the mode for compatibility.
- 'full' will load all the files to enable back compatibility with deprecated code. (Default)
- 'current' will not load any deprecated code. Use with caution! Could result in a fatal PHP error.
- A minor release value, such as '1.5', will load files necessary for back compatibility with version 1.5.x. Note that there are no separate modes for releases prior to 1.5. Example: If a site was originally customized with a child theme and Make 1.6.x, setting the mode to 1.6 will load files necessary to enable compatibility with changes made in 1.7.x, but will skip files for 1.5 and 1.6.
- $mode: (string) The compatibility mode to run the theme in.
- Since: 1.7.0.
apply_filters( 'make_customizer_panels', $panels );
Filter: Modify the array of panel definitions for the Customizer.
- $panels: (array) The array of panel definitions.
- Since: 1.3.0.
apply_filters( 'make_customizer_sections', $sections );
Filter: Modify the array of sectioncontrol definitions for the Customizer.
- $sections: (array) The array of section definitions.
- Since: 1.3.0.
apply_filters( 'make_read_more_text' );
This filter is documented in inctemplate-tags.php
apply_filters( 'make_breadcrumb_override', $override );
Filter: Allow override of breadcrumb settings, controls and output
- $override: (boolean) Wether third party breadcrumbs should be overriden.
- Since: 1.7.4.
apply_filters( 'make_preview_font_data', $response, $fonts );
Filter: Modify the preview font data array before it is converted to JSON and sent as an Ajax response.
-
$response: (array) The array of font data.
-
$fonts: (array) The font values to preview.
- Since: 1.7.0.
apply_filters( 'make_show_errors', $show_errors );
Filter: Toggle for showing Make errors.
- $show_errors: (bool) True to show errors.
- Since: 1.7.0.
absint( apply_filters( 'make_error_backtrace_limit', $limit );
Filter: Change the number of steps shown in a Make Error backtrace.
- $limit: (int) The number of backtrace steps to show.
- Since: 1.7.0.
apply_filters( 'make_add_font_source_' . $source_id, $add_source );
Filter: Prevent a font source from being added.
- $add_source: (bool) True to allow the font source to be added.
- Since: 1.7.0.
apply_filters( 'make_font_stack', $stack, $font );
Allow developers to filter the full font stack.
-
$stack: (string) The font stack.
-
$font: (string) The font.
- Since: 1.2.3.
apply_filters( 'make_all_font_choices', $choices );
Filter the list of font choices.
- $choices: (array)
- Since: 1.0.0.
apply_filters( "make_font_data_{$this->id}", $font_data );
Filter: Modify the font data from a particular source.
- $font_data: (array)
- Since: 1.7.0.
apply_filters( 'make_get_standard_fonts', $fonts );
Allow for developers to modify the standard fonts.
- $fonts: (array) The list of standard fonts.
- Since: 1.2.3.
apply_filters( 'make_all_fonts', $fonts );
Allow for developers to modify the full list of fonts.
- $fonts: (array) The list of all fonts.
- Since: 1.2.3.
apply_filters( 'make_get_google_fonts', $fonts );
Allow for developers to modify the standard fonts.
- $fonts: (array) The list of standard fonts.
- Since: 1.2.3.
apply_filters( 'make_font_google_stack', $stack, $category );
Filter: Modify the CSS font stack for a particular category of Google font.
-
$stack: (string) The CSS font stack.
-
$category: (string) The font category.
- Since: 1.7.0.
apply_filters( 'make_get_google_font_uri', $url );
Filter the Google Fonts URL.
- $url: (string) The URL to retrieve the Google Fonts.
- Since: 1.2.3.
apply_filters( 'make_font_variants', $variants, $font, $variants );
Allow developers to alter the font variant choice.
-
$variants: (array) The list of variants for a font.
-
$font: (string) The font to load variants for.
-
$variants: (array) The variants for the font.
- Since: 1.2.3.
apply_filters( 'make_font_google_variants', $variants, $font, $variants );
Allow developers to alter the Google font variant choice.
-
$variants: (array) The list of variants for a font.
-
$font: (string) The font to load variants for.
-
$variants: (array) The variants for the font.
- Since: 1.7.0.
apply_filters( 'make_format_builder_format_models', $models );
Filter the format model definitions and their script locations. model => URI of the model's script file
- $models: (array) The array of format models.
- Since: 1.4.1
apply_filters( 'make_style_formats', $style_formats );
Filter the styles that are added to the TinyMCE Formats dropdown.
- $style_formats: (array) The format items being added to TinyMCE.
- Since: 1.2.3.
apply_filters( 'make_jetpack_infinite_scroll_footer_callback', $callback );
Filter: Change the callback used to render the Infinite Scroll footer.
- $callback: (array|string)
- Since: 1.7.0.
apply_filters( 'make_jetpack_infinite_scroll_render_callback', $callback );
Filter: Change the callback used to render posts retrieved by Infinite Scroll.
- $callback: (array|string)
- Since: 1.7.0.
apply_filters( 'make_add_integration_' . $integration_name, $add_integration );
Filter: Prevent an integration from being added.
- $add_integration: (bool) True to allow the integration to be added.
- Since: 1.7.0.
apply_filters( 'make_get_view', $view, $parent_post_type );
Allow developers to dynamically change the view.
-
$view: (string) The view name.
-
$parent_post_type: (string) The post type for the parent post of the current post.
- Since: 1.2.3.
apply_filters( 'ttfmake_custom_logo_information', $logo_information );
Filter the URL and dimensions of the custom logo. This filter may be useful if you encounter problems getting your custom logo to appear. Note, however, that using this filter will hard-code the logo information and settings in the Logo interface in the Customizer won't be reflected.
- $logo_information: (array) The array of information.
- Since: 1.0.0.
apply_filters( 'make_logo_information', $logo_information );
Filter the URL and dimensions of the custom logo. This filter may be useful if you encounter problems getting your custom logo to appear. Note, however, that using this filter will hard-code the logo information and settings in the Logo interface in the Customizer won't be reflected.
- $logo_information: (array) The array of information.
- Since: 1.7.0.
apply_filters( 'ttfmake_custom_logo_max_width' );
This filter is documented in inclogomethods.php
apply_filters( 'make_logo_max_width' );
This filter is documented in inclogomethods.php
apply_filters( 'make_logo_load_legacy', $load_legacy );
Filter: Switch to prevent legacy logo functionality from loading.
- $load_legacy: (bool)
- Since: 1.7.0.
apply_filters( 'ttfmake_custom_logo_max_width', $width );
Filter the maximum allowable width for a custom logo.
- $width: (int) The maximum width, in pixels.
- Since: 1.0.0.
apply_filters( 'make_logo_max_width', $width );
Filter the maximum allowable width for a custom logo.
- $width: (int) The maximum width, in pixels.
- Since: 1.7.0.
apply_filters( 'make_is_plus', $is_plus );
Filter: Modify the status of Make Plus.
- $is_plus: (bool) True if Make Plus is active.
- Since: 1.2.3.
apply_filters( "make_settings_{$this->type}_current_value", $value, $setting_id, $context );
Filter: Modify the current value for a particular setting.
-
$value: (mixed) The current value of the setting.
-
$setting_id: (string) The id of the setting.
-
$context: (string) Optional. The context in which a setting needs to be sanitized.
- Since: 1.7.0.
apply_filters( "make_settings_{$this->type}_default_value", $default_value, $setting_id );
Filter: Modify the default value for a particular setting.
-
$default_value: (string|array) The default value of the setting.
-
$setting_id: (string) The id of the setting.
- Since: 1.7.0.
apply_filters( "make_settings_{$this->type}_sanitize_callback", $callback, $setting_id, $context );
Filter: Modify the name of the sanitize callback function for a particular setting.
-
$callback: (string|array) The name of the callback function.
-
$setting_id: (string) The id of the setting.
-
$context: (string) The context in which the setting needs to be sanitized.
- Since: 1.7.0.
apply_filters( "make_settings_{$this->type}_sanitize_callback_parameters", $value, $setting_id, $callback );
Filter: Prepare the array of parameters to feed into the sanitize callback function. Some callbacks may require more than one parameter. This filter provides an opportunity to add additional items to the array that will become the callback's parameters.
-
$value: (array) The array of parameters, initially containing only the value to be sanitized.
-
$setting_id: (string) The id of the setting being sanitized.
-
$callback: (string) The callable that will accept parameters.
- Since: 1.7.0.
apply_filters( 'make_sanitize_text_allowed_tags', $expandedtags, $string );
Customize the tags and attributes that are allowed during text sanitization.
-
$expandedtags: (array) The list of allowed tags and attributes.
-
$string: (string) The text string being sanitized.
- Since: 1.4.3
apply_filters( 'make_sanitize_choice', $value, $setting );
Deprecated: Filter the sanitized value.
-
$value: (mixed) The sanitized value.
-
$setting: (string) The key for the setting.
- Since: 1.2.3.
apply_filters( 'make_sanitize_font_choice', $value );
Deprecated: Filter the sanitized font choice.
- $value: (string) The chosen font value.
- Since: 1.2.3.
apply_filters( 'make_sanitize_font_subset', $value );
Filter the sanitized subset choice.
- $value: (string) The chosen subset value.
- Since: 1.2.3.
apply_filters( 'make_setting_defaults', $defaults );
Deprecated: Filter the default values for the settings.
- $defaults: (array) The list of default settings.
- Since: 1.2.3.
apply_filters( 'make_get_default', $default, $option );
Deprecated: Filter the retrieved default value.
-
$default: (mixed) The default value.
-
$option: (string) The name of the default value.
- Since: 1.2.3.
apply_filters( 'make_setting_choices', $choices, $setting_id );
Filter the setting choices.
-
$choices: (array) The choices for the setting.
-
$setting_id: (string) The setting name.
- Since: 1.2.3.
apply_filters( 'make_content_width', $new_width, $left, $right );
Filter to modify the $content_width variable.
-
$new_width: (int) The new content width.
-
$left: (bool) True if the current view has a left sidebar.
-
$right: (bool) True if the current view has a right sidebar.
- Since: 1.4.8
apply_filters( 'make_enqueue_parent_stylesheet', $enqueue );
Filter: Toggle whether the parent stylesheet loads along with the child one.
- $enqueue: (bool) True enqueues the parent stylesheet.
- Since: 1.6.0.
apply_filters( 'make_located_file_url', $url, $file_names );
Filter: Modify the URL the theme will use to attempt to access a particular file. This can be used to set the URL for a file if the get_located_file_url() method is not determining the correct URL.
-
$url: (string)
-
$file_names: (string|array)
- Since: 1.7.0.
apply_filters( 'make_fitvids_custom_selectors', $selector_array );
Filter: Allow customization of the selectors that are used to apply FitVids.
- $selector_array: (array) The selectors used by FitVids.
- Since: 1.2.3.
apply_filters( 'make_widget_display_args', $widget_args, $sidebar_id );
Filter: Modify the wrapper markup parameters for the widgets in a particular sidebar.
-
$widget_args: (array) The default widget markup for sidebars.
-
$sidebar_id: (string) The ID of the sidebar that the widget markup will apply to.
- Since: 1.7.0.
apply_filters( 'make_has_sidebar', $has_sidebar, $location, $view );
Filter: Dynamically change the result of the "has sidebar" check.
-
$has_sidebar: (bool) Whether or not to show the sidebar.
-
$location: (string) The location of the sidebar being evaluated.
-
$view: (string) The view name.
- Since: 1.2.3.
apply_filters( 'make_supported_social_icons', $icons );
Filter the supported social icons. This array uses the url pattern for the key and the CSS class (as dictated by Font Awesome) as the array value. The URL pattern is used to match the URL used by a menu item.
- $icons: (array) The array of supported social icons.
- Since: 1.2.3.
apply_filters( 'make_socialicons_email', $icon );
Filter: Modify the icon definition for an email address.
- $icon: (array) The icon definition.
- Since: 1.7.0.
apply_filters( 'make_socialicons_rss', $icon );
Filter: Modify the icon definition for an RSS feed.
- $icon: (array) The icon definition.
- Since: 1.7.0.
apply_filters( 'make_socialicons_default', $icon );
Filter: Modify the icon definition for a URL that doesn't match any icon URL pattern.
- $icon: (array) The icon definition.
- Since: 1.7.0.
apply_filters( 'make_socialicons_render_override', $override, $icon_data );
Filter: Override the default social icons rendered output.
-
$override: (string|null) This value will be returned if it is not null.
-
$icon_data: (array) The array of icon data to use for rendering.
- Since: 1.7.0.
apply_filters( 'make_css_add', $data );
Filter: Modify CSS rules as they are registered.
- $data: (array) The selectors and properties to add to the CSS.
- Since: 1.2.3
apply_filters( 'make_parse_declaration', $parsed_value, $property, $value, $t, $n );
Filter: Modify the final CSS declaration after being parsed.
-
$parsed_value: (string) The full CSS declaration.
-
$property: (string) The property being parsed.
-
$value: (string) The value for the property.
-
$t: (string) The tab character.
-
$n: (string) The newline character.
- Since: 1.2.3.
apply_filters( 'make_css_parse_declarations', $output, $declarations, $tab );
Filter: Modify the full list of parsed declarations.
-
$output: (string) The full CSS output.
-
$declarations: (array) The list of CSS declarations.
-
$tab: (string) The tab character.
- Since: 1.2.3.
apply_filters( 'make_font_relative_size', $sizes );
Filter the array of relative font sizes. Each array item defines a percentage by which to scale a font size compared to some other font size. Most of these were deprecated in version 1.3.0.
- $sizes: (array) The array of relative sizes.
- Since: 1.0.0.
apply_filters( 'make_read_more_text', $read_more_text );
Deprecated: Filter the value of the read more text. This filter hook has been deprecated in favor of a theme option in the Customizer. The theme option will only be available if no filters have been added to the hook.
- $read_more_text: (string) The read more text value.
- Since: 1.2.3.
apply_filters( 'make_site_header_class', $classes );
Filter: Modify the classes applied to the site header element.
- $classes: (array)
- Since: 1.7.0.
apply_filters( 'make_exif_shutter_speed', $converted_as, $raw_shutter_speed, $attachment_id );
Filter the shutter speed value.
-
$converted_as: (string) The shutter speed value.
-
$raw_shutter_speed: (float) The raw shutter speed value.
-
$attachment_id: (int) The ID of the attachment.
-
Since: 1.2.3.
-
Since: 1.7.0.
apply_filters( 'make_exif_aperture', $f_stop, $raw_aperture, $attachment_id );
Filter the aperture value.
-
$f_stop: (string) The aperture value.
-
$raw_aperture: (int) The raw aperture value.
-
$attachment_id: (int) The ID of the attachment.
-
Since: 1.2.3.
-
Since: 1.7.0.
apply_filters( 'make_get_exif_data', $output, $attachment_id );
Alter the exif data output.
-
$output: (string) The EXIF data prepared as HTML.
-
$attachment_id: (int) The image being generated.
- Since: 1.2.3.
apply_filters( 'make_breadcrumb_output', $breadcrumb, $before, $after );
Filter: Modify the output of breadcrumb
-
$breadcrumb: (string) The breadcrumb markup.
-
$before: (string) The wrapper opening markup.
-
$after: (string) The wrapper closing markup.
- Since: 1.8.9.
apply_filters( 'make_entry_thumbnail_size', $size, $layout_setting );
Filter: Modify the image size used to display a post's featured image (post thumbnail)
-
$size: (string) The ID of the image size to use.
-
$layout_setting: (string) The value of the featured image layout setting for the current view.
- Since: 1.7.4.
apply_filters( 'make_template_content_archive', $type, $post );
Allow for changing the template partial.
-
$type: (string) The default template type to use.
-
$post: (WP_Post) The post object for the current post.
- Since: 1.2.3.
apply_filters( 'make_template_content_page', $type, $post );
Allow for changing the template partial.
-
$type: (string) The default template type to use.
-
$post: (WP_Post) The post object for the current post.
- Since: 1.2.3.
apply_filters( 'make_show_footer_credit', $show );
Allow toggling of the footer credit.
- $show: (bool) Whether or not to show the footer credit.
- Since: 1.2.3.
apply_filters( 'make_template_content_search', $type, $post );
Allow for changing the template partial.
-
$type: (string) The default template type to use.
-
$post: (WP_Post) The post object for the current post.
- Since: 1.2.3.
apply_filters( 'make_footer_1', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_footer_2', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_footer_3', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_footer_4', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_sidebar_left', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_sidebar_right', $footer_id );
Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.
- $footer_id: (string) The ID of the current footer being generated.
- Since: 1.2.3.
apply_filters( 'make_template_content_single', $type, $post );
Allow for changing the template partial.
-
$type: (string) The default template type to use.
-
$post: (WP_Post) The post object for the current post.
- Since: 1.2.3.