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 FluentFormPro\src\Components\PostSelectionField -> generalEditorElement()