flowcrafter_php_code_node_capability
Description
Filters the capability required to manage PHP Code nodes.
Usage
Change the capability required for PHP Code nodes.
add_filter( 'flowcrafter_php_code_node_capability', 'my_custom_function' );Parameters
$capability
string
Capability name.
Examples
Change the capability required for PHP Code nodes
add_filter( 'flowcrafter_php_code_node_capability', fn() => 'manage_options' );Since
1.0-beta-1Hook added.