Alternative_Heap::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    public function __construct()
    {
        add_action('init', array($this, 'maybe_create_alt_heap'));
        // display a notice at the bottom of the window when in an alternative heap
        if (function_exists('currheap') && false !== currheap()) {
            add_filter('plugins_url', array($this, 'fix_plugins_url'));
            add_action('admin_footer', array($this, 'render_alternative_heap_indicator'));
            add_action('wp_footer', array($this, 'render_alternative_heap_indicator'));
        }
    }