Skip to content

deprecated_argument_run

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

Fires when a deprecated argument is called. This is a WP core action.

Auto-generated Example

add_action(
   'deprecated_argument_run',
    function(
        string $function,
        string $message,
        string $version
    ) {
        // Your code here.
    },
    10,
    3
);

Parameters

  • string $function The function that was called.
  • string $message A message regarding the change.
  • string $version The version of CMB2 that deprecated the argument used.

Files

do_action( 'deprecated_argument_run', $function, $message, $version )

← All Hooks

Clone this wiki locally