Skip to content

Commit

Permalink
Merge pull request #17 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Fix $priority of function add_filter
  • Loading branch information
rasmuswinter authored Jun 10, 2021
2 parents daa873e + 04de50f commit 657f293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostTypeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function registerPostTypes($classNames)
}
}
}
}, '99', 2); // use high priority value to ensure this happens after acf finishes saving its metadata
}, 99, 2); // use high priority value to ensure this happens after acf finishes saving its metadata

$this->registered = true;
do_action('oowp/all_post_types_registered', $this->postTypes);
Expand Down

0 comments on commit 657f293

Please sign in to comment.