Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Fire action on completion of mu_loader #35

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

andrewjt71
Copy link

Fires an action on completion of mu_loader. This will help deal with the scenario where functionality in one plugin depends on functionality in another plugin being loaded first.

Usage:

add_action(
    'muplugins_loaded', 
    static function() {
        // Insert code here 
    }
);

jenkoian
jenkoian previously approved these changes Dec 1, 2021
@jenkoian jenkoian dismissed their stale review December 1, 2021 16:27

Clicked too soon

src/Util/loader.php Outdated Show resolved Hide resolved
@andrewjt71 andrewjt71 force-pushed the add-action-for-mu-plugins-loaded branch from 075923b to 6c0f98f Compare December 1, 2021 16:49
@jenkoian jenkoian merged commit 3299daf into master Dec 1, 2021
@jenkoian jenkoian deleted the add-action-for-mu-plugins-loaded branch December 1, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants