public function __construct($type) { $this->type = apply_filters('acf/rest_api/type', $type); $this->namespace = 'acf/v2'; $this->rest_base = $this->get_rest_base($this->type); }
public function __construct($type) { parent::__construct($type); $this->rest_base = 'options'; }