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

Commit

Permalink
Merge pull request #10 from ellytronic/master
Browse files Browse the repository at this point in the history
Update hook for enqueuing and registering assets
  • Loading branch information
jameelmoses authored Aug 18, 2020
2 parents dba74d4 + 59eb445 commit a710749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class Main {
protected function init() {

// Assets
add_action( 'acf/input/admin_footer', [ $this, 'register_assets' ], 1 );
add_action( 'acf/input/admin_footer', [ $this, 'enqueue_assets' ] );
add_action( 'admin_footer', [ $this, 'register_assets' ], 1 );
add_action( 'admin_footer', [ $this, 'enqueue_assets' ] );

// Images
add_action( 'acf/input/admin_footer', [ $this, 'layouts_images_style' ], 20 );
Expand Down

0 comments on commit a710749

Please sign in to comment.