deprecated_constructor_run WordPress Action Hook

The deprecated_constructor_run hook is no longer used as of WordPress 3.1. This hook was used to indicate when a plugin's constructor function was called.

do_action( 'deprecated_constructor_run', string $class, string $version, string $parent_class ) #

Fires when a deprecated constructor is called.


Parameters

$class

(string)The class containing the deprecated constructor.

$version

(string)The version of WordPress that deprecated the function.

$parent_class

(string)The parent class calling the deprecated constructor.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.5.0Added the $parent_class parameter.
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More