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

Determining plugin and content directories #2697

Closed
jonathanbossenger opened this issue Jul 19, 2024 · 2 comments
Closed

Determining plugin and content directories #2697

jonathanbossenger opened this issue Jul 19, 2024 · 2 comments

Comments

@jonathanbossenger
Copy link
Collaborator

jonathanbossenger commented Jul 19, 2024

Details

  • Content type (Online Workshop, Lesson, Course, Tutorial, or Lesson Plan): Lesson
  • Content title: Determining plugin and content directories
  • Topic description: Covers how to use internal WordPress functions to determine internal URLs and paths.
  • Audience (User, Developer, Designer, Contributor, etc.): Developer
  • Experience Level (Beginner, Intermediate, Advanced, Any): Intermediate

Prerequisites

It is assumed that the learner has already completed the following lessons:

Learning Objectives

  • Explain why a plugin developer cannot assume that plugins and themes will always be in the same location
  • Identify and describe commonly used internal functions for finding plugin paths and URLs for enqueuing asset files
  • Summarize the available internal functions, highlighting the most important, with some examples

Related Resources and Other Notes

Automation Code

//lesson

Copy link
Contributor

Lesson Development Checklist

  • Gather any relevant links to Support, Docs, or related material
  • Description and Objectives finalized
  • Lesson created and announced to the team for review
  • Lesson reviewed
  • Lesson video submitted and published to WPTV
  • Lesson created on Learn.WordPress.org
  • Lesson video published to YouTube
  • Lesson on Learn.WordPress.org updated with YouTube video
  • Lesson published to Learn.WordPress.org

@WordPress WordPress deleted a comment from github-actions bot Aug 11, 2024
@jonathanbossenger
Copy link
Collaborator Author

Closing in favour of including this in #2696

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

No branches or pull requests

1 participant