Skip to content

Commit 84326a0

Browse files
committed
~ Use init rather than plugins_loaded in gpdec-delay-for-gravity-pdf-bg-processing.php to support using theme functions.php
1 parent 9733f87 commit 84326a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/gpdec-delay-for-gravity-pdf-bg-processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function __construct( $args ) {
2020
'form_id' => false,
2121
) );
2222

23-
add_action( 'plugins_loaded', array( $this, 'add_hooks' ), 16 );
23+
add_action( 'init', array( $this, 'add_hooks' ), 16 ); // Wait for all add-ons
2424
}
2525

2626
public function add_hooks() {

0 commit comments

Comments
 (0)