for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WPFoundation library.
*
* Copyright (c) 2015-present LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LIN3S\WPFoundation\Widgets\Areas;
/**
* Abstract class of base widget area that implements the interface.
* This class avoids the redundant task of create the same WidgetArea constructor.
* @author Beñat Espiña <[email protected]>
abstract class WidgetArea implements WidgetAreaInterface
{
* Constructor.
public function __construct()
add_action('widgets_init', [$this, 'widgetArea']);
add_action()
}