Skip to content

Instantly share code, notes, and snippets.

@sixFingers
Last active June 7, 2017 13:58
Show Gist options
  • Save sixFingers/084960d1613e7fce42418cd5b4908673 to your computer and use it in GitHub Desktop.
Save sixFingers/084960d1613e7fce42418cd5b4908673 to your computer and use it in GitHub Desktop.

Actions

make_api_loaded

do_action( 'make_api_loaded', $Make );
Description

Action: Fire when the Make API has finished loading.

Parameters:
  • $Make: (MAKE_API)
Changelog:
  • Since: 1.7.0.
Source:

make_notice_loaded

do_action( 'make_notice_loaded', $notice );
Description

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.

Parameters:
  • $notice: (MAKE_Admin_Notice) The notice object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_section_'.$ttfmake_section_data['section']['id'].'_before

do_action( 'make_section_' . $ttfmake_section_data['section']['id'] . '_before', $ttfmake_section_data );
Description

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).

Parameters:
  • $ttfmake_section_data: (array) The array of data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_'.$ttfmake_section_data['section']['id'].'_after

do_action( 'make_section_' . $ttfmake_section_data['section']['id'] . '_after', $ttfmake_section_data );
Description

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).

Parameters:
  • $ttfmake_section_data: (array) The array of data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_builder_data_saved

do_action( 'make_builder_data_saved', $sections, $post_id );
Description

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.

Parameters:
  • $sections: (array) The clean section data.

  • $post_id: (int) The post ID for the saved data.

Changelog:
  • Since: 1.2.3.
Source:

make_before_builder_menu

do_action( 'make_before_builder_menu' );
Description

Execute code before the builder menu items are displayed.

Parameters:
Changelog:
  • Since: 1.2.3.
Source:

make_after_builder_menu

do_action( 'make_after_builder_menu' );
Description

Execute code after the builder menu items are displayed.

Parameters:
Changelog:
  • Since: 1.2.3.
Source:

make_before_section_header

do_action( 'make_before_section_header' );
Description

Execute code before the section header is displayed.

Parameters:
Changelog:
  • Since: 1.2.3.
Source:

make_after_builder_stage

do_action( 'make_after_builder_stage' );
Description

Execute code after the builder stage is displayed.

Parameters:
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_before_column

do_action( 'make_section_text_before_column', $ttfmake_section_data );
Description

Execute code before an individual text column is displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_after_column

do_action( 'make_section_text_after_column', $ttfmake_section_data );
Description

Execute code after an individual text column is displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_before_columns_select

do_action( 'make_section_text_before_columns_select', $ttfmake_section_data );
Description

Execute code before the columns select input is displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_after_columns_select

do_action( 'make_section_text_after_columns_select', $ttfmake_section_data );
Description

Execute code after the columns select input is displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_after_title

do_action( 'make_section_text_after_title', $ttfmake_section_data );
Description

Execute code after the section title is displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_section_text_after_columns

do_action( 'make_section_text_after_columns', $ttfmake_section_data );
Description

Execute code after all columns are displayed.

Parameters:
  • $ttfmake_section_data: (array) The data for the section.
Changelog:
  • Since: 1.2.3.
Source:

make_builder_'.$data['section-type'].'_css

do_action( 'make_builder_' . $data['section-type'] . '_css', $data, $id, $style );
Description

Allow section-specific CSS rules to be added to the document head of a Builder page.

Parameters:
  • $data: (array) The Builder section's data.

  • $id: (int) The ID of the Builder section.

  • $style: (MAKE_Style_ManagerInterface) The style manager instance.

Changelog:
  • Since: 1.4.5

  • Since: 1.7.0.

Source:

make_choices_loaded

do_action( 'make_choices_loaded', $choices );
Description

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.

Parameters:
  • $choices: (MAKE_Choices_Manager) The choices object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_deprecated_function_run

do_action( 'make_deprecated_function_run', $function, $version, $replacement, $message );
Description

Fires when a deprecated function is called.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_deprecated_hook_run

do_action( 'make_deprecated_hook_run', $hook, $version, $message );
Description

Fires when a deprecated hook has an attached functionmethod.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_doing_it_wrong_run

do_action( 'make_doing_it_wrong_run', $function, $message, $version );
Description

Fires when the given function is being used incorrectly.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_font_loaded

do_action( 'make_font_loaded', $font );
Description

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.

Parameters:
  • $font: (MAKE_Font_Manager) The font object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_add_formats

do_action( 'make_add_formats', $formatting );
Description

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.

Parameters:
  • $formatting: (MAKE_Formatting_Manager) The Formatting object.
Changelog:
  • Since: 1.7.0.
Source:

make_view_loaded

do_action( 'make_view_loaded', $view );
Description

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.

Parameters:
  • $view: (MAKE_Layout_View) The view object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_settings_thememod_loaded

do_action( 'make_settings_thememod_loaded', $settings );
Description

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.

Parameters:
  • $settings: (MAKE_Settings_ThemeMod) The settings object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_socialicons_loaded

do_action( "make_socialicons_loaded", $socialicons );
Description

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.

Parameters:
  • $socialicons: (MAKE_SocialIcons_Manager) The settings object that has just finished loading.
Changelog:
  • Since: 1.7.0.
Source:

make_style_before_load

do_action( 'make_style_before_load', $style );
Description

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.

Parameters:
  • $style: (MAKE_Style_ManagerInterface) The style object.
Changelog:
  • Since: 1.7.0.
Source:

make_css

do_action( 'make_css' );
Description

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.

Parameters:
Changelog:
  • Since: 1.2.3.
Source:

make_style_loaded

do_action( 'make_style_loaded', $style );
Description

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.

Parameters:
  • $style: (MAKE_Style_Manager) The style object
Changelog:
  • Since: 1.7.0.
Source:

make_style_before_inline

do_action( 'make_style_before_inline', $style );
Description

Action: Fires before the inline CSS rules are rendered and output.

Parameters:
  • $style: (MAKE_Style_ManagerInterface) The style object.
Changelog:
  • Since: 1.7.0.
Source:

make_style_before_file

do_action( 'make_style_before_file', $style );
Description

Action: Fires before the CSS rules are rendered and output as a file.

Parameters:
  • $style: (MAKE_Style_ManagerInterface) The style object.
Changelog:
  • Since: 1.7.0.
Source:

Filters

make_template_content_archive

apply_filters( 'make_template_content_archive', $type, $post );
Description

Allow for changing the template partial.

Parameters:
  • $type: (string) The default template type to use.

  • $post: (WP_Post) The post object for the current post.

Changelog:
  • Since: 1.2.3.
Source:

make_add_section

apply_filters( 'make_add_section', $section );
Description

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.

Parameters:
  • $section: (array) The section being added.
Changelog:
  • Since: 1.2.3.
Source:

make_builder_js_dependencies

apply_filters( 'make_builder_js_dependencies', $dependencies );
Description

Filter the dependencies for the Make builder JS.

Parameters:
  • $dependencies: (array) The list of dependencies.
Changelog:
  • Since: 1.2.3.
Source:

make_builder_is_default

apply_filters( 'make_builder_is_default', $is_default );
Description

Filter: Modify whether new pages default to the Builder template.

Parameters:
  • $is_default: (bool)
Changelog:
  • Since: 1.7.0.
Source:

make_will_be_builder_page

apply_filters( 'make_will_be_builder_page', $will_be_builder_page, $template, $use_builder );
Description

Allow developers to dynamically change the builder page status.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_load_section_template

apply_filters( 'make_load_section_template', $templates, $slug, $path );
Description

Filter the templates to try and load.

Parameters:
  • $templates: (array) The list of template to try and load.

  • $slug: (string) The template slug.

  • $path: (string) The path to the template.

Changelog:
  • Since: 1.2.3.
Source:

make_get_wp_editor_id

apply_filters( 'make_get_wp_editor_id', $id, $data, $is_js_template );
Description

Alter the wp_editor ID.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_get_section_name

apply_filters( 'make_get_section_name', $name, $data, $is_js_template );
Description

Alter section name.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_get_image

apply_filters( 'make_get_image', $return, $image_id, $size );
Description

Filter the image HTML.

Parameters:
  • $return: (string) The image HTML.

  • $image_id: (int) The ID for the image.

  • $size: (bool) The requested image size.

Changelog:
  • Since: 1.2.3.
Source:

make_get_image_src

apply_filters( 'make_get_image_src', $src, $image_id, $size );
Description

Filter the image source attributes.

Parameters:
  • $src: (string) The image source attributes.

  • $image_id: (int) The ID for the image.

  • $size: (bool) The requested image size.

Changelog:
  • Since: 1.2.3.
Source:

make_get_placeholder_image

apply_filters( 'make_get_placeholder_image', $return, $image_id, $ttfmake_placeholder_images );
Description

Filter the image source attributes.

Parameters:
  • $return: (string) The image source attributes.

  • $image_id: (int) The ID for the image.

  • $ttfmake_placeholder_images: (bool) The list of placeholder images.

Changelog:
  • Since: 1.2.3.
Source:

make_get_section_json

apply_filters( 'make_get_section_json', $section );
Description

Filters the json representation of a single section. This filters allows for dynamically altering this section json representation.

Parameters:
  • $section: (array) The section being jsonified.
Changelog:
  • Since: 1.8.0
Source:

make_configuration_overlay_input_wrap

apply_filters( 'make_configuration_overlay_input_wrap', $wrapper, $args, $section_data );
Description

Filter the wrapped used for the inputs.

Parameters:
  • $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.

Changelog:
  • Since: 1.4.0.
Source:

make_configuration_overlay_input

apply_filters( 'make_configuration_overlay_input', $this_output, $args, $section_data );
Description

Filter the HTML for the input.

Parameters:
  • $this_output: (string) The HTML for the input.

  • $args: (string) The input data.

  • $section_data: (string) The data for the section.

Changelog:
  • Since: 1.4.0.
Source:

make_prepare_data

apply_filters( 'make_prepare_data', $clean_sections, $sections );
Description

Filter the full set of data for a post.

Parameters:
  • $clean_sections: (array) The clean sections.

  • $sections: (array) The raw sections.

Changelog:
  • Since: 1.2.3.
Source:

make_insert_post_data_sections

apply_filters( 'make_insert_post_data_sections', $data );
Description

Filter the section data.

Parameters:
  • $data: (array) The sanitized data.
Changelog:
  • Since: 1.2.3.
Source:

make_generate_post_content

apply_filters( 'make_generate_post_content', $post_content, $data );
Description

Filter the generated post content. This content is the full HTML version of the content that will be saved as "post_content".

Parameters:
  • $post_content: (string) The fully generated post content.

  • $data: (array) The data used to generate the content.

Changelog:
  • Since: 1.2.3.
Source:

make_get_next_section_data

apply_filters( 'make_get_next_section_data', $next_data, $current_section, $sections );
Description

Allow developers to alter the "next" section data.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_get_prev_section_data

apply_filters( 'make_get_prev_section_data', $prev_section, $current_section, $sections );
Description

Allow developers to alter the "next" section data.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_section_html_id

apply_filters( 'make_section_html_id', $section_id, $current_section );
Description

Filter the section wrapper's HTML id attribute.

Parameters:
  • $section_id: (string) The string used in the section's HTML id attribute.

  • $current_section: (array) The data for the section.

Changelog:
  • Since: 1.6.0.
Source:

make_section_classes

apply_filters( 'make_section_classes', $classes, $current_section );
Description

Filter the section classes.

Parameters:
  • $classes: (string) The sting of classes.

  • $current_section: (array) The array of data for the current section.

Changelog:
  • Since: 1.2.3.
Source:

ttfmake_the_builder_content

apply_filters( 'ttfmake_the_builder_content', $content );
Description

Filter the content used for "post_content" when the builder is used to generate content.

Parameters:
  • $content: (string) The post content.
Changelog:
  • Since: 1.2.3.
Source:

make_the_builder_content

apply_filters( 'make_the_builder_content', $content );
Description

Filter the content used for "post_content" when the builder is used to generate content.

Parameters:
  • $content: (string) The post content.
Changelog:
  • Since: 1.2.3.
Source:

ttfmake_builder_section_footer_links

apply_filters( 'ttfmake_builder_section_footer_links', $links );
Description

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.

Parameters:
  • $links: (array) The link definition array.
Changelog:
  • Since: 1.0.7.
Source:

make_builder_section_links

apply_filters( 'make_builder_section_links', $links );
Description

Filter the definitions for the buttons that appear in each Builder section's header.

Parameters:
  • $links: (array) The button definition array.
Changelog:
  • Since: 1.4.0.
Source:

make_banner_slide_configuration

apply_filters( 'make_banner_slide_configuration', $inputs );
Description

Filter the definitions of the Banner slide configuration inputs.

Parameters:
  • $inputs: (array) The input definition array.
Changelog:
  • Since: 1.4.0.
Source:

make_column_buttons

apply_filters( 'make_column_buttons', $column_buttons, $item_type );
Description

Filter the buttons added to a text column.

Parameters:
  • $column_buttons: (array) The current list of buttons.

  • $item_type: (string) Item type, in this case 'column'.

Changelog:
  • Since: 1.4.0.

  • Since: 1.8.8.

Source:

ttfmake-text-column-classes

apply_filters( 'ttfmake-text-column-classes', $column_classes, $i, $ttfmake_section_data );
Description

Filter the classes applied to each column in a Columns section.

Parameters:
  • $column_classes: (string) The classes for the column.

  • $i: (int) The column number.

  • $ttfmake_section_data: (array) The array of data for the section.

Changelog:
  • Since: 1.2.0.
Source:

make_gallery_item_configuration

apply_filters( 'make_gallery_item_configuration', $inputs );
Description

Filter the definitions of the Gallery item configuration inputs.

Parameters:
  • $inputs: (array) The input definition array.
Changelog:
  • Since: 1.4.0.
Source:

make_section_defaults

apply_filters( 'make_section_defaults', $defaults );
Description

Filter the section defaults.

Parameters:
  • $defaults: (array) The default section data
Changelog:
  • Since: 1.2.3.
Source:

make_section_choices

apply_filters( 'make_section_choices', $choices, $key, $section_type );
Description

Filter the section choices.

Parameters:
  • $choices: (array) The default section choices.

  • $key: (string) The key for the data.

  • $section_type: (string) The type of section this relates to.

Changelog:
  • Since: 1.2.3.
Source:

make_get_section_default

apply_filters( 'make_get_section_default', $value, $key, $section_type );
Description

Filter the default section data that is received.

Parameters:
  • $value: (mixed) The section value.

  • $key: (string) The key to get data for.

  • $section_type: (string) The type of section the data is for.

Changelog:
  • Since: 1.2.3.
Source:

make_sanitize_section_choice

apply_filters( 'make_sanitize_section_choice', $value, $key, $section_type );
Description

Allow developers to alter a section choice during the sanitization process.

Parameters:
  • $value: (mixed) The value for the section choice.

  • $key: (string) The key for the section choice.

  • $section_type: (string) The section type.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_is_section_type

apply_filters( 'make_builder_is_section_type', $is_section_type, $type, $data );
Description

Allow developers to alter if a set of data is a specified section type.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_gallery_array

apply_filters( 'make_builder_get_gallery_array', $gallery_array, $ttfmake_section_data );
Description

Filter the gallery item data.

Parameters:
  • $gallery_array: (array) The array of gallery item data.

  • $ttfmake_section_data: (array) The section data.

Changelog:
  • Since: 1.2.3.
Source:

make_gallery_class

apply_filters( 'make_gallery_class', $gallery_class, $ttfmake_section_data, $sections );
Description

Filter the class applied to a gallery.

Parameters:
  • $gallery_class: (string) The class applied to the gallery.

  • $ttfmake_section_data: (array) The section data.

  • $sections: (array) The list of sections.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_gallery_style

apply_filters( 'make_builder_get_gallery_style', $gallery_style, $ttfmake_section_data );
Description

Filter the style added to a gallery section.

Parameters:
  • $gallery_style: (string) The style applied to the gallery.

  • $ttfmake_section_data: (array) The section data.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_gallery_item_class

apply_filters( 'make_builder_get_gallery_item_class', $gallery_class, $item, $ttfmake_section_data, $i );
Description

Filter the class used for a gallery item.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_gallery_item_onclick

apply_filters( 'make_builder_get_gallery_item_onclick', $onclick, $link, $ttfmake_section_data, $i );
Description

Filter the class used for a gallery item.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.6.
Source:

make_builder_get_gallery_item_image

apply_filters( 'make_builder_get_gallery_item_image', $image, $item, $aspect );
Description

Alter the generated gallery image.

Parameters:
  • $image: (string) The image HTML.

  • $item: (array) The item's data.

  • $aspect: (string) The aspect ratio for the section.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_text_array

apply_filters( 'make_builder_get_text_array', $columns_array, $ttfmake_section_data );
Description

Filter the array of builder data for the text section.

Parameters:
  • $columns_array: (array) The ordered data for the text section.

  • $ttfmake_section_data: (array) The raw section data.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_text_class

apply_filters( 'make_builder_get_text_class', $text_class, $ttfmake_section_data, $sections );
Description

Filter the text section class.

Parameters:
  • $text_class: (string) The computed class string.

  • $ttfmake_section_data: (array) The section data.

  • $sections: (array) The list of sections.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_banner_array

apply_filters( 'make_builder_get_banner_array', $banner_array, $ttfmake_section_data );
Description

Filter the data array for a banner section.

Parameters:
  • $banner_array: (array) The ordered banner data.

  • $ttfmake_section_data: (array) All of the data for the section.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_banner_class

apply_filters( 'make_builder_banner_class', $banner_class, $ttfmake_section_data );
Description

Filter the class for the banner section.

Parameters:
  • $banner_class: (string) The banner class.

  • $ttfmake_section_data: (array) The section data.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_get_banner_slider_atts

apply_filters( 'make_builder_get_banner_slider_atts', $data_attributes, $ttfmake_section_data );
Description

Allow for altering the banner slider attributes.

Parameters:
  • $data_attributes: (string) The data attributes in string form.

  • $ttfmake_section_data: (array) The section data.

Changelog:
  • Since: 1.2.3.
Source:

make_builder_banner_slide_class

apply_filters( 'make_builder_banner_slide_class', $slide_class );
Description

Allow developers to alter the class for the banner slide.

Parameters:
  • $slide_class: (string) The banner classes.
Changelog:
  • Since: 1.2.3.
Source:

make_builder_banner_slide_style

apply_filters( 'make_builder_banner_slide_style', $slide_style, $slide, $ttfmake_section_data );
Description

Allow developers to change the CSS for a Banner section.

Parameters:
  • $slide_style: (string) The CSS for the banner.

  • $slide: (array) The slide data.

  • $ttfmake_section_data: (array) The section data.

Changelog:
  • Since: 1.2.3.
Source:

make_section_html_id

apply_filters( 'make_section_html_id' );
Description

This filter is documented in incbuildercoresave.php

Parameters:
Changelog:
Source:

make_get_section_data

apply_filters( 'make_get_section_data', $ordered_data, $post_id );
Description

Filter the section data for a post.

Parameters:
  • $ordered_data: (array) The array of section data.

  • $post_id: (int) The post ID for the retrieved data.

Changelog:
  • Since: 1.2.3.
Source:

make_is_builder_page

apply_filters( 'make_is_builder_page', $is_builder_page, $post_id );
Description

Allow a developer to dynamically change whether the post uses the builder or not.

Parameters:
  • $is_builder_page: (bool) Whether or not the post uses the builder.

  • $post_id: (int) The ID of post being evaluated.

Changelog:
  • Since: 1.2.3
Source:

make_customizer_key_conversions

apply_filters( 'make_customizer_key_conversions', $conversions );
Description

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.

Parameters:
  • $conversions: (array) The array of key conversions.
Changelog:
  • Since: 1.3.0.
Source:

make_compatibility_mode

apply_filters( 'make_compatibility_mode', $mode );
Description

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.
Parameters:
  • $mode: (string) The compatibility mode to run the theme in.
Changelog:
  • Since: 1.7.0.
Source:

make_customizer_panels

apply_filters( 'make_customizer_panels', $panels );
Description

Filter: Modify the array of panel definitions for the Customizer.

Parameters:
  • $panels: (array) The array of panel definitions.
Changelog:
  • Since: 1.3.0.
Source:

make_customizer_sections

apply_filters( 'make_customizer_sections', $sections );
Description

Filter: Modify the array of sectioncontrol definitions for the Customizer.

Parameters:
  • $sections: (array) The array of section definitions.
Changelog:
  • Since: 1.3.0.
Source:

make_read_more_text

apply_filters( 'make_read_more_text' );
Description

This filter is documented in inctemplate-tags.php

Parameters:
Changelog:
Source:

make_breadcrumb_override

apply_filters( 'make_breadcrumb_override', $override );
Description

Filter: Allow override of breadcrumb settings, controls and output

Parameters:
  • $override: (boolean) Wether third party breadcrumbs should be overriden.
Changelog:
  • Since: 1.7.4.
Source:

make_preview_font_data

apply_filters( 'make_preview_font_data', $response, $fonts );
Description

Filter: Modify the preview font data array before it is converted to JSON and sent as an Ajax response.

Parameters:
  • $response: (array) The array of font data.

  • $fonts: (array) The font values to preview.

Changelog:
  • Since: 1.7.0.
Source:

make_show_errors

apply_filters( 'make_show_errors', $show_errors );
Description

Filter: Toggle for showing Make errors.

Parameters:
  • $show_errors: (bool) True to show errors.
Changelog:
  • Since: 1.7.0.
Source:

lters('make_error_backtrace_limit

absint( apply_filters( 'make_error_backtrace_limit', $limit );
Description

Filter: Change the number of steps shown in a Make Error backtrace.

Parameters:
  • $limit: (int) The number of backtrace steps to show.
Changelog:
  • Since: 1.7.0.
Source:

make_add_font_source_'.$source_i

apply_filters( 'make_add_font_source_' . $source_id, $add_source );
Description

Filter: Prevent a font source from being added.

Parameters:
  • $add_source: (bool) True to allow the font source to be added.
Changelog:
  • Since: 1.7.0.
Source:

make_font_stack

apply_filters( 'make_font_stack', $stack, $font );
Description

Allow developers to filter the full font stack.

Parameters:
  • $stack: (string) The font stack.

  • $font: (string) The font.

Changelog:
  • Since: 1.2.3.
Source:

make_all_font_choices

apply_filters( 'make_all_font_choices', $choices );
Description

Filter the list of font choices.

Parameters:
  • $choices: (array)
Changelog:
  • Since: 1.0.0.
Source:

make_font_data_{$this->id}

apply_filters( "make_font_data_{$this->id}", $font_data );
Description

Filter: Modify the font data from a particular source.

Parameters:
  • $font_data: (array)
Changelog:
  • Since: 1.7.0.
Source:

make_get_standard_fonts

apply_filters( 'make_get_standard_fonts', $fonts );
Description

Allow for developers to modify the standard fonts.

Parameters:
  • $fonts: (array) The list of standard fonts.
Changelog:
  • Since: 1.2.3.
Source:

make_all_fonts

apply_filters( 'make_all_fonts', $fonts );
Description

Allow for developers to modify the full list of fonts.

Parameters:
  • $fonts: (array) The list of all fonts.
Changelog:
  • Since: 1.2.3.
Source:

make_get_google_fonts

apply_filters( 'make_get_google_fonts', $fonts );
Description

Allow for developers to modify the standard fonts.

Parameters:
  • $fonts: (array) The list of standard fonts.
Changelog:
  • Since: 1.2.3.
Source:

make_font_google_stack

apply_filters( 'make_font_google_stack', $stack, $category );
Description

Filter: Modify the CSS font stack for a particular category of Google font.

Parameters:
  • $stack: (string) The CSS font stack.

  • $category: (string) The font category.

Changelog:
  • Since: 1.7.0.
Source:

make_get_google_font_uri

apply_filters( 'make_get_google_font_uri', $url );
Description

Filter the Google Fonts URL.

Parameters:
  • $url: (string) The URL to retrieve the Google Fonts.
Changelog:
  • Since: 1.2.3.
Source:

make_font_variants

apply_filters( 'make_font_variants', $variants, $font, $variants );
Description

Allow developers to alter the font variant choice.

Parameters:
  • $variants: (array) The list of variants for a font.

  • $font: (string) The font to load variants for.

  • $variants: (array) The variants for the font.

Changelog:
  • Since: 1.2.3.
Source:

make_font_google_variants

apply_filters( 'make_font_google_variants', $variants, $font, $variants );
Description

Allow developers to alter the Google font variant choice.

Parameters:
  • $variants: (array) The list of variants for a font.

  • $font: (string) The font to load variants for.

  • $variants: (array) The variants for the font.

Changelog:
  • Since: 1.7.0.
Source:

make_format_builder_format_models

apply_filters( 'make_format_builder_format_models', $models );
Description

Filter the format model definitions and their script locations. model => URI of the model's script file

Parameters:
  • $models: (array) The array of format models.
Changelog:
  • Since: 1.4.1
Source:

make_style_formats

apply_filters( 'make_style_formats', $style_formats );
Description

Filter the styles that are added to the TinyMCE Formats dropdown.

Parameters:
  • $style_formats: (array) The format items being added to TinyMCE.
Changelog:
  • Since: 1.2.3.
Source:

make_jetpack_infinite_scroll_footer_callback

apply_filters( 'make_jetpack_infinite_scroll_footer_callback', $callback );
Description

Filter: Change the callback used to render the Infinite Scroll footer.

Parameters:
  • $callback: (array|string)
Changelog:
  • Since: 1.7.0.
Source:

make_jetpack_infinite_scroll_render_callback

apply_filters( 'make_jetpack_infinite_scroll_render_callback', $callback );
Description

Filter: Change the callback used to render posts retrieved by Infinite Scroll.

Parameters:
  • $callback: (array|string)
Changelog:
  • Since: 1.7.0.
Source:

make_add_integration_'.$integration_nam

apply_filters( 'make_add_integration_' . $integration_name, $add_integration );
Description

Filter: Prevent an integration from being added.

Parameters:
  • $add_integration: (bool) True to allow the integration to be added.
Changelog:
  • Since: 1.7.0.
Source:

make_get_view

apply_filters( 'make_get_view', $view, $parent_post_type );
Description

Allow developers to dynamically change the view.

Parameters:
  • $view: (string) The view name.

  • $parent_post_type: (string) The post type for the parent post of the current post.

Changelog:
  • Since: 1.2.3.
Source:

ttfmake_custom_logo_information

apply_filters( 'ttfmake_custom_logo_information', $logo_information );
Description

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.

Parameters:
  • $logo_information: (array) The array of information.
Changelog:
  • Since: 1.0.0.
Source:

make_logo_information

apply_filters( 'make_logo_information', $logo_information );
Description

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.

Parameters:
  • $logo_information: (array) The array of information.
Changelog:
  • Since: 1.7.0.
Source:

ttfmake_custom_logo_max_width

apply_filters( 'ttfmake_custom_logo_max_width' );
Description

This filter is documented in inclogomethods.php

Parameters:
Changelog:
Source:

make_logo_max_width

apply_filters( 'make_logo_max_width' );
Description

This filter is documented in inclogomethods.php

Parameters:
Changelog:
Source:

make_logo_load_legacy

apply_filters( 'make_logo_load_legacy', $load_legacy );
Description

Filter: Switch to prevent legacy logo functionality from loading.

Parameters:
  • $load_legacy: (bool)
Changelog:
  • Since: 1.7.0.
Source:

ttfmake_custom_logo_max_width

apply_filters( 'ttfmake_custom_logo_max_width', $width );
Description

Filter the maximum allowable width for a custom logo.

Parameters:
  • $width: (int) The maximum width, in pixels.
Changelog:
  • Since: 1.0.0.
Source:

make_logo_max_width

apply_filters( 'make_logo_max_width', $width );
Description

Filter the maximum allowable width for a custom logo.

Parameters:
  • $width: (int) The maximum width, in pixels.
Changelog:
  • Since: 1.7.0.
Source:

make_is_plus

apply_filters( 'make_is_plus', $is_plus );
Description

Filter: Modify the status of Make Plus.

Parameters:
  • $is_plus: (bool) True if Make Plus is active.
Changelog:
  • Since: 1.2.3.
Source:

make_settings_{$this->type}_current_value

apply_filters( "make_settings_{$this->type}_current_value", $value, $setting_id, $context );
Description

Filter: Modify the current value for a particular setting.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_settings_{$this->type}_default_value

apply_filters( "make_settings_{$this->type}_default_value", $default_value, $setting_id );
Description

Filter: Modify the default value for a particular setting.

Parameters:
  • $default_value: (string|array) The default value of the setting.

  • $setting_id: (string) The id of the setting.

Changelog:
  • Since: 1.7.0.
Source:

make_settings_{$this->type}_sanitize_callback

apply_filters( "make_settings_{$this->type}_sanitize_callback", $callback, $setting_id, $context );
Description

Filter: Modify the name of the sanitize callback function for a particular setting.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_settings_{$this->type}_sanitize_callback_parameters

apply_filters( "make_settings_{$this->type}_sanitize_callback_parameters", $value, $setting_id, $callback );
Description

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.

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.

Changelog:
  • Since: 1.7.0.
Source:

make_sanitize_text_allowed_tags

apply_filters( 'make_sanitize_text_allowed_tags', $expandedtags, $string );
Description

Customize the tags and attributes that are allowed during text sanitization.

Parameters:
  • $expandedtags: (array) The list of allowed tags and attributes.

  • $string: (string) The text string being sanitized.

Changelog:
  • Since: 1.4.3
Source:

make_sanitize_choice

apply_filters( 'make_sanitize_choice', $value, $setting );
Description

Deprecated: Filter the sanitized value.

Parameters:
  • $value: (mixed) The sanitized value.

  • $setting: (string) The key for the setting.

Changelog:
  • Since: 1.2.3.
Source:

make_sanitize_font_choice

apply_filters( 'make_sanitize_font_choice', $value );
Description

Deprecated: Filter the sanitized font choice.

Parameters:
  • $value: (string) The chosen font value.
Changelog:
  • Since: 1.2.3.
Source:

make_sanitize_font_subset

apply_filters( 'make_sanitize_font_subset', $value );
Description

Filter the sanitized subset choice.

Parameters:
  • $value: (string) The chosen subset value.
Changelog:
  • Since: 1.2.3.
Source:

make_setting_defaults

apply_filters( 'make_setting_defaults', $defaults );
Description

Deprecated: Filter the default values for the settings.

Parameters:
  • $defaults: (array) The list of default settings.
Changelog:
  • Since: 1.2.3.
Source:

make_get_default

apply_filters( 'make_get_default', $default, $option );
Description

Deprecated: Filter the retrieved default value.

Parameters:
  • $default: (mixed) The default value.

  • $option: (string) The name of the default value.

Changelog:
  • Since: 1.2.3.
Source:

make_setting_choices

apply_filters( 'make_setting_choices', $choices, $setting_id );
Description

Filter the setting choices.

Parameters:
  • $choices: (array) The choices for the setting.

  • $setting_id: (string) The setting name.

Changelog:
  • Since: 1.2.3.
Source:

make_content_width

apply_filters( 'make_content_width', $new_width, $left, $right );
Description

Filter to modify the $content_width variable.

Parameters:
  • $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.

Changelog:
  • Since: 1.4.8
Source:

make_enqueue_parent_stylesheet

apply_filters( 'make_enqueue_parent_stylesheet', $enqueue );
Description

Filter: Toggle whether the parent stylesheet loads along with the child one.

Parameters:
  • $enqueue: (bool) True enqueues the parent stylesheet.
Changelog:
  • Since: 1.6.0.
Source:

make_located_file_url

apply_filters( 'make_located_file_url', $url, $file_names );
Description

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.

Parameters:
  • $url: (string)

  • $file_names: (string|array)

Changelog:
  • Since: 1.7.0.
Source:

make_fitvids_custom_selectors

apply_filters( 'make_fitvids_custom_selectors', $selector_array );
Description

Filter: Allow customization of the selectors that are used to apply FitVids.

Parameters:
  • $selector_array: (array) The selectors used by FitVids.
Changelog:
  • Since: 1.2.3.
Source:

make_widget_display_args

apply_filters( 'make_widget_display_args', $widget_args, $sidebar_id );
Description

Filter: Modify the wrapper markup parameters for the widgets in a particular sidebar.

Parameters:
  • $widget_args: (array) The default widget markup for sidebars.

  • $sidebar_id: (string) The ID of the sidebar that the widget markup will apply to.

Changelog:
  • Since: 1.7.0.
Source:

make_has_sidebar

apply_filters( 'make_has_sidebar', $has_sidebar, $location, $view );
Description

Filter: Dynamically change the result of the "has sidebar" check.

Parameters:
  • $has_sidebar: (bool) Whether or not to show the sidebar.

  • $location: (string) The location of the sidebar being evaluated.

  • $view: (string) The view name.

Changelog:
  • Since: 1.2.3.
Source:

make_supported_social_icons

apply_filters( 'make_supported_social_icons', $icons );
Description

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.

Parameters:
  • $icons: (array) The array of supported social icons.
Changelog:
  • Since: 1.2.3.
Source:

make_socialicons_email

apply_filters( 'make_socialicons_email', $icon );
Description

Filter: Modify the icon definition for an email address.

Parameters:
  • $icon: (array) The icon definition.
Changelog:
  • Since: 1.7.0.
Source:

make_socialicons_rss

apply_filters( 'make_socialicons_rss', $icon );
Description

Filter: Modify the icon definition for an RSS feed.

Parameters:
  • $icon: (array) The icon definition.
Changelog:
  • Since: 1.7.0.
Source:

make_socialicons_default

apply_filters( 'make_socialicons_default', $icon );
Description

Filter: Modify the icon definition for a URL that doesn't match any icon URL pattern.

Parameters:
  • $icon: (array) The icon definition.
Changelog:
  • Since: 1.7.0.
Source:

make_socialicons_render_override

apply_filters( 'make_socialicons_render_override', $override, $icon_data );
Description

Filter: Override the default social icons rendered output.

Parameters:
  • $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.

Changelog:
  • Since: 1.7.0.
Source:

make_css_add

apply_filters( 'make_css_add', $data );
Description

Filter: Modify CSS rules as they are registered.

Parameters:
  • $data: (array) The selectors and properties to add to the CSS.
Changelog:
  • Since: 1.2.3
Source:

make_parse_declaration

apply_filters( 'make_parse_declaration', $parsed_value, $property, $value, $t, $n );
Description

Filter: Modify the final CSS declaration after being parsed.

Parameters:
  • $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.

Changelog:
  • Since: 1.2.3.
Source:

make_css_parse_declarations

apply_filters( 'make_css_parse_declarations', $output, $declarations, $tab );
Description

Filter: Modify the full list of parsed declarations.

Parameters:
  • $output: (string) The full CSS output.

  • $declarations: (array) The list of CSS declarations.

  • $tab: (string) The tab character.

Changelog:
  • Since: 1.2.3.
Source:

make_font_relative_size

apply_filters( 'make_font_relative_size', $sizes );
Description

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.

Parameters:
  • $sizes: (array) The array of relative sizes.
Changelog:
  • Since: 1.0.0.
Source:

make_read_more_text

apply_filters( 'make_read_more_text', $read_more_text );
Description

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.

Parameters:
  • $read_more_text: (string) The read more text value.
Changelog:
  • Since: 1.2.3.
Source:

make_site_header_class

apply_filters( 'make_site_header_class', $classes );
Description

Filter: Modify the classes applied to the site header element.

Parameters:
  • $classes: (array)
Changelog:
  • Since: 1.7.0.
Source:

make_exif_shutter_speed

apply_filters( 'make_exif_shutter_speed', $converted_as, $raw_shutter_speed, $attachment_id );
Description

Filter the shutter speed value.

Parameters:
  • $converted_as: (string) The shutter speed value.

  • $raw_shutter_speed: (float) The raw shutter speed value.

  • $attachment_id: (int) The ID of the attachment.

Changelog:
  • Since: 1.2.3.

  • Since: 1.7.0.

Source:

make_exif_aperture

apply_filters( 'make_exif_aperture', $f_stop, $raw_aperture, $attachment_id );
Description

Filter the aperture value.

Parameters:
  • $f_stop: (string) The aperture value.

  • $raw_aperture: (int) The raw aperture value.

  • $attachment_id: (int) The ID of the attachment.

Changelog:
  • Since: 1.2.3.

  • Since: 1.7.0.

Source:

make_get_exif_data

apply_filters( 'make_get_exif_data', $output, $attachment_id );
Description

Alter the exif data output.

Parameters:
  • $output: (string) The EXIF data prepared as HTML.

  • $attachment_id: (int) The image being generated.

Changelog:
  • Since: 1.2.3.
Source:

make_breadcrumb_output

apply_filters( 'make_breadcrumb_output', $breadcrumb, $before, $after );
Description

Filter: Modify the output of breadcrumb

Parameters:
  • $breadcrumb: (string) The breadcrumb markup.

  • $before: (string) The wrapper opening markup.

  • $after: (string) The wrapper closing markup.

Changelog:
  • Since: 1.8.9.
Source:

make_entry_thumbnail_size

apply_filters( 'make_entry_thumbnail_size', $size, $layout_setting );
Description

Filter: Modify the image size used to display a post's featured image (post thumbnail)

Parameters:
  • $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.

Changelog:
  • Since: 1.7.4.
Source:

make_template_content_archive

apply_filters( 'make_template_content_archive', $type, $post );
Description

Allow for changing the template partial.

Parameters:
  • $type: (string) The default template type to use.

  • $post: (WP_Post) The post object for the current post.

Changelog:
  • Since: 1.2.3.
Source:

make_template_content_page

apply_filters( 'make_template_content_page', $type, $post );
Description

Allow for changing the template partial.

Parameters:
  • $type: (string) The default template type to use.

  • $post: (WP_Post) The post object for the current post.

Changelog:
  • Since: 1.2.3.
Source:

make_show_footer_credit

apply_filters( 'make_show_footer_credit', $show );
Description

Allow toggling of the footer credit.

Parameters:
  • $show: (bool) Whether or not to show the footer credit.
Changelog:
  • Since: 1.2.3.
Source:

make_template_content_search

apply_filters( 'make_template_content_search', $type, $post );
Description

Allow for changing the template partial.

Parameters:
  • $type: (string) The default template type to use.

  • $post: (WP_Post) The post object for the current post.

Changelog:
  • Since: 1.2.3.
Source:

make_footer_1

apply_filters( 'make_footer_1', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_footer_2

apply_filters( 'make_footer_2', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_footer_3

apply_filters( 'make_footer_3', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_footer_4

apply_filters( 'make_footer_4', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_sidebar_left

apply_filters( 'make_sidebar_left', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_sidebar_right

apply_filters( 'make_sidebar_right', $footer_id );
Description

Filter the sidebar ID to allow developers to programmatically change the sidebar displayed.

Parameters:
  • $footer_id: (string) The ID of the current footer being generated.
Changelog:
  • Since: 1.2.3.
Source:

make_template_content_single

apply_filters( 'make_template_content_single', $type, $post );
Description

Allow for changing the template partial.

Parameters:
  • $type: (string) The default template type to use.

  • $post: (WP_Post) The post object for the current post.

Changelog:
  • Since: 1.2.3.
Source:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment