Skip to content

Commit

Permalink
Get all options
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Mar 4, 2022
1 parent cf5806a commit df88992
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions includes/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ public function populate( array $data ) {
$this->shouldSave = true;
}

/**
* Get all options.
*
* @return array
*/
public function all() {
return $this->options;
}

/**
* Save options to the database.
*
Expand Down

0 comments on commit df88992

Please sign in to comment.