Skip to content

Commit

Permalink
Fix loading products for Gutenberg
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavgreif committed Jan 9, 2020
1 parent fa4e1c8 commit 0a67918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct( Admin $admin, Group $group, Access $access, $plugin
}

public function load_products() {
$this->admin->get_simpleshop_products();
return $this->admin->get_simpleshop_products();
}

public function load_block_assets() { // phpcs:ignore
Expand Down

0 comments on commit 0a67918

Please sign in to comment.