: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace WPForms\Admin\Education\Builder;
use \WPForms\Admin\Education\AddonsItemBase;
* Base class for Builder/Fields Education feature.
abstract class Fields extends AddonsItemBase {
* Instance of the Education\Fields class.
* @var \WPForms\Admin\Education\Fields
* Indicate if current Education feature is allowed to load.
public function allow_load() {
return wp_doing_ajax() || wpforms_is_admin_page( 'builder' );
// Store the instance of the Education\Fields class.
$this->fields = wpforms()->get( 'education_fields' );