Skip to content

Commit

Permalink
Use Module class method for getting fields
Browse files Browse the repository at this point in the history
  • Loading branch information
annalinneajohansson committed Jul 24, 2023
1 parent f5ff435 commit ed8dd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/php/Module/Modal/Modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function init()
public function data(): array
{

$fields = get_fields($this->ID);
$fields = $this->getFields();
$data = [];

// Modal button
Expand Down

0 comments on commit ed8dd61

Please sign in to comment.