ACF_Updates::__construct()
__construct
Sets up the class functionality.
Метод класса: ACF_Updates{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ACF_Updates = new ACF_Updates(); $ACF_Updates->__construct();
Список изменений
С версии 5.0.0 | Введена. |
Код ACF_Updates::__construct() ACF Updates:: construct ACF 6.0.4
function __construct() { // append update information to transient add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'modify_plugins_transient' ), 10, 1 ); // modify plugin data visible in the 'View details' popup add_filter( 'plugins_api', array( $this, 'modify_plugin_details' ), 10, 3 ); }