Skip to content

cmb2_field_arguments_raw

github-actions[bot] edited this page Jun 25, 2026 · 1 revision

Filtering the CMB2 Field arguments once merged with the defaults, but before further processing.

Auto-generated Example

add_filter(
   'cmb2_field_arguments_raw',
    function(
        array $args,
        CMB2_Field object
    ) {
        // Your code here.
        return $args;
    },
    10,
    2
);

Parameters

  • array $args Metabox field config array defaults.
  • CMB2_Field object $field This field object.

Files

apply_filters( 'cmb2_field_arguments_raw', $args, $this )

← All Hooks

Clone this wiki locally