Skip to content

Conversation

@abgreeve
Copy link
Contributor

I ran into some confusion about the hook priority and wanted to clarify how it works.

Copilot AI review requested due to automatic review settings October 28, 2025 04:09
@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ba4f7d7
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/690041ec24623f0008d9f489
😎 Deploy Preview https://deploy-preview-1458--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR clarifies the documentation for hook callback execution order and priority values in Moodle. The changes make it explicit that callbacks execute in descending priority order (highest to lowest numeric values) and provide concrete details about the default priority value.

  • Adds a new dedicated subsection for "Hook Callback Execution Order"
  • Explicitly states that higher numeric priority values execute earlier
  • Documents the default priority value of 100

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant