WordPress / WordPress/Learn

Naming Collisions

Open
#2,857 15 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

Details

  • Content type (Online Workshop, Lesson, Course, Tutorial, or Lesson Plan): Lesson
  • Content title: Naming Collisions
  • Topic description: How to avoid naming collisions in WordPress plugins.
  • 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

  • Describe what naming collisions are
  • Explain, with examples, how to use prefixes to avoid naming collisions
  • Explain, with examples, how to use namespaces to avoid naming collisions
  • Explain, with examples, how to use classes to avoid naming collisions

Related Resources and Other Notes

Automation Code

//lesson

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.