Comment.php
5 months ago
MetaLocation.php
5 months ago
Option.php
5 months ago
Post.php
5 months ago
Term.php
5 months ago
User.php
5 months ago
Comment.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package ACF |
| 4 | * @author WP Engine |
| 5 | * |
| 6 | * © 2026 Advanced Custom Fields (ACF®). All rights reserved. |
| 7 | * "ACF" is a trademark of WP Engine. |
| 8 | * Licensed under the GNU General Public License v2 or later. |
| 9 | * https://www.gnu.org/licenses/gpl-2.0.html |
| 10 | */ |
| 11 | |
| 12 | namespace ACF\Meta; |
| 13 | |
| 14 | /** |
| 15 | * A class to add support for saving to comment meta. |
| 16 | */ |
| 17 | class Comment extends MetaLocation { |
| 18 | |
| 19 | /** |
| 20 | * The unique slug/name of the meta location. |
| 21 | * |
| 22 | * @var string |
| 23 | */ |
| 24 | public string $location_type = 'comment'; |
| 25 | } |
| 26 |