Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Move helpers require to 12, so GCB free can require them at 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kienstra committed Sep 1, 2020
1 parent 40fbfb6 commit 1e9005e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block-lab.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ function block_lab() {
// Sometimes we need to do some things after the plugin is loaded, so call the Plugin_Interface::plugin_loaded().
add_action( 'plugins_loaded', [ block_lab(), 'plugin_loaded' ] );

// Require helpers at 11, so if GCB is active, its helpers will be required first and prevent a PHP error.
add_action( 'plugins_loaded', [ block_lab(), 'require_helpers' ], 11 );
// Require helpers at 12, so if GCB is active, its helpers will be required first and prevent a PHP error.
add_action( 'plugins_loaded', [ block_lab(), 'require_helpers' ], 12 );

0 comments on commit 1e9005e

Please sign in to comment.