deprecated_constructor_run, $class_name, $version, $parent_class

deprecated_constructor_run, $class_name, $version, $parent_class

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('deprecated_constructor_run, $class_name, $version, $parent_class') is found 1 times:

  • /wp-includes/functions.php line 5644
    	 * @param string $class_name   The class containing the deprecated constructor.
    	 * @param string $version      The version of WordPress that deprecated the function.
    	 * @param string $parent_class The parent class calling the deprecated constructor.
    	 */
    	do_action( 'deprecated_constructor_run', $class_name, $version, $parent_class );
    
    	/**
    	 * Filters whether to trigger an error for deprecated functions.
    	 *
    	 * `WP_DEBUG` must be true in addition to the filter evaluating to true.
    	 *