fluentform_post_type_selection_types_args

Description  #

This filter returns the post type selection arguments for the post type selection field.

apply_filters('fluentform_post_type_selection_types_args', ['public' => true]);

Usage   #

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

Parameters #

  • $args (array) Arguments

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 *