You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
<?php
|
|
|
|
|
|
/**
|
|
|
* Copyright (c) Vincent Klaiber.
|
|
|
*
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
* file that was distributed with this source code.
|
|
|
*
|
|
|
* @see https://github.com/wordplate/extended-acf
|
|
|
*/
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
namespace WordPlate\Acf\Fields\Attributes;
|
|
|
|
|
|
trait Placeholder
|
|
|
{
|
|
|
public function placeholder(string $placeholder): self
|
|
|
{
|
|
|
$this->config->set('placeholder', $placeholder);
|
|
|
|
|
|
return $this;
|
|
|
}
|
|
|
}
|