deprecated_class_run

deprecated_class_run

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.8

do_action('deprecated_class_run') is found 1 times:

  • /wp-includes/functions.php line 5705
    5701
    5702
    5703
    5704
    5705
    5706
    5707
    5708
    5709
    5710
    5711
    * @param string $class_name  The name of the class being instantiated.
     * @param string $replacement The class or function that should have been called.
     * @param string $version     The version of WordPress that deprecated the class.
     */
    do_action( 'deprecated_class_run', $class_name, $replacement, $version );
     
    /**
     * Filters whether to trigger an error for a deprecated class.
     *
     * @since 6.4.0
     *