fluentform_post_selection_types

Description  #

This filter returns formatted post types for the post selection field.

apply_filters('fluentform_post_selection_types', $formattedTypes);

Usage   #

add_filter('fluentform_post_selection_types', function ($formattedTypes) {
    // do your stuff
    return $formattedTypes
}, 10, 1);

Parameters #

  • $formattedTypes (array) Formatted Posts

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in src/Components/PostSelectionField.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *