Replace an action argument.
This function is a shortcut of beans_replace_action().
beans_replace_action_arguments( string $id, int $args )
Return: (bool) Will always return true.
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
$id | string | true | - | The action ID. |
$args | int | false | - | The new number of arguments the function accepts. Use NULL to keep the original value. |
Source
function beans_replace_action_arguments( $id, $args ) {
return beans_replace_action( $id, null, null, null, $args );
}