Curated list that contain code, snippets or examples without libraries or external packages for developers.

Overview

Awesome WordPress Developer Tips

Curated list that contain very awesome and ready code, snippets or examples without libraries or external packages made it for developers.

Why

This list is born from a real workflow in my development in WordPress, sometimes you don't need or not exist a library that do a specific stuff very well with a real case to study.
When i need something like that I search for other plugins that do that stuff to study and replicate, better if possible. For that reason I remember many plugins what they do and I search for recreate the same UX/UI. This list infact contain reference to plugins or docs but not to tutorials.
In this way is possible see in action, also the workaround used, and more important a case study.
In few words this is a list for skilled WordPress developers that want a simple way to found specific code (in the mainly case how use a specific hook).

PS: Part * is used because sometimes the code is splitted (maybe an hook declaration and a function).
PSS: Sometimes the code can be in the wrong line because the line is changed, search in the linked page or open a ticket to fix that list.

Awesome

Table of Contents

Core

AJAX

JSON REST API official

  • Add meta field on v1 and v2 in readonly - Code from DaTask plugin: Part 1
  • Extend WP Rest API v2 - Demo Plugin by Pete Nelson

External plugin

Hacks

Tips

WooCommerce

Other lists

License

CC0

To the extent possible under law, Daniele Scasciafratte has waived all copyright and related or neighboring rights to this work.

You might also like...
A curated list of awesome Laravel bookmarks, packages, tools, articles, tutorials and related resources.

ATTENTION: This list is obsolete and discontinued. Please find a much more comprehensive, much more well-maintained awesome-laravel list at chiraggude

Custom code snippets and examples for SkyVerge-built WooCommerce extensions

SkyVerge WooCommerce Plugins Welcome to the wc-plugins-snippets repository! This repository stores code snippets related to SkyVerge WooCommerce plugi

Demo serverless applications, examples code snippets and resources for PHP
Demo serverless applications, examples code snippets and resources for PHP

The Serverless LAMP stack Examples Code example Description AWS blog link 0.1-SimplePhpFunction A very simple implementation of a PHP Lambda function.

A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities.

Awesome WordPress A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities. Inspired by bayand

A curated list of resources for learning about application security

Awesome AppSec A curated list of resources for learning about application security. Contains books, websites, blog posts, and self-assessment quizzes.

A curated list of awesome tutorials and other resources for the Slim micro framework

Awesome Slim A curated list of awesome tutorials and other resources for the Slim micro framework Table of Contents Essentials Tutorials Packages and

AES 128 bit Encryption and Decryption algorithm excuted purely on PHP with no external libraries.
AES 128 bit Encryption and Decryption algorithm excuted purely on PHP with no external libraries.

AES128 Executed with PHP Advanced Encryption Standard (AES) is a specification for the encryption of electronic data established by the U.S National I

Simple analyse the traffic of your OctoberCMS-based website without relying on an external service.

Simple Analytics for OctoberCMS Simple analyse the traffic of your website without relying on an external service. The simple version of this plugin (

Generate and display maps without external services or compromising on privacy.
Generate and display maps without external services or compromising on privacy.

Generate and display maps without external services or compromising on privacy.

Hi Im L, I found a box that I believe it's contain Kira's real ID. for open that box we need to find three keys. let's start looking for them
Hi Im L, I found a box that I believe it's contain Kira's real ID. for open that box we need to find three keys. let's start looking for them

DeathNote ctf Description are you smart enaugh to help me capturing the three keys for open the box that contain the real ID of kira? Let's start solv

Share value objects that contain the same primitive value as a singleton

sharable-value-objects Share value objects that contain the same primitive value as a singleton. Singletons are kept under WeakReference objects. Inst

30 seconds of code Short PHP code snippets for all your development needs
30 seconds of code Short PHP code snippets for all your development needs

30 seconds of code Short PHP code snippets for all your development needs Visit our website to view our snippet collection. Use the Search page to fin

PHP SDK for the Sellix Developers API (developers.sellix.io)

PHP SDK for the Sellix Developers API (developers.sellix.io). Quickly get started and create products, payments and more using PHP.

Easily create and work with code snippets from PHP

code-snippets Easily create and work with code snippets from source code files of any type in PHP. The original code this package is based on was borr

LaravelSnippets.com website | A repository of useful code snippets for Laravel PHP framework

LaravelSnippets.com website | A repository of useful code snippets for Laravel PHP framework. Submit, grab and share!

A library of powerful code snippets to help you get the job done with Gravity Forms and Gravity Perks.

Gravity Wiz Snippet Library Gravity Wiz is creating the most comprehensive library of snippets for Gravity Forms ever. We'll be consistently moving ou

A self-hosted alternative to putting your code snippets on Gist.
A self-hosted alternative to putting your code snippets on Gist.

WP-Gistpen Contributors: JamesDiGioia Donate link: http://jamesdigioia.com/ Tags: gist, code snippets, codepen Requires at least: 5.2 Requires PHP: 5.

Mind is the PHP code framework designed for developers. It offers a variety of solutions for creating design patterns, applications and code frameworks.
Mind is the PHP code framework designed for developers. It offers a variety of solutions for creating design patterns, applications and code frameworks.

Mind Mind is the PHP code framework designed for developers. It offers a variety of solutions for creating design patterns, applications and code fram

Comments
  • Added article on updating WooCommerce shipping classes

    Added article on updating WooCommerce shipping classes

    This is an article I've written on how to update multiple products' WooCommerce shipping classes using SQL, rather than the WordPress interface which doesn't support this feature. This is a very speedy process that can update multiple thousands of products at once.

    opened by dmpinder 1
  • Added article for Simple way to get a single post’s taxonomy

    Added article for Simple way to get a single post’s taxonomy

    Added another article, "Simple way to get a single post’s taxonomy", this is useful to get a post's taxonomy. The code makes what is often found as a complex function a nice simple function to generate a comma-separated list.

    opened by dmpinder 0
  • added two tips, one about servers, one about a better search

    added two tips, one about servers, one about a better search

    one tip for creating a really easy wordpress sandbox server for testing or other 'real world' WP server needs.

    one is a guide to building a better WP search which includes custom post types and organization.

    opened by Sk8rSeth 0
  • New snippets for hacktoberfest

    New snippets for hacktoberfest

    This is a call to improve the list with new snippets. So what you have to do as wordpress developer?

    • Suggest interesting snippets about wordpress development in real plugins
    • Read the list
    • Do a pr for new snippets
    enhancement hacktoberfest 
    opened by Mte90 6
Owner
Daniele Scasciafratte
CTO @CodeAtCode, Mozilla Volunteer and WordPress Core Contributor. Open Source Multiversal Guy with problems of addicting in contributing and evangelism.
Daniele Scasciafratte
Examples for extending WordPress/Gutenberg with blocks.

Gutenberg Examples Examples for extending Gutenberg with plugins which create blocks. See also: Gutenberg developer documentation Installation Gutenbe

null 1.1k Dec 29, 2022
Generates a list of WordPress actions and filters from code and outputs them as JSON

wp-hooks-generator Generates a JSON representation of the WordPress actions and filters in your code. Can be used with WordPress plugins, themes, and

John Blackbourn 62 Nov 18, 2022
Integrates Composer into monolithic repositories with many packages.

Composer Monorepo Plugin Note: this project is still experimental. Please provide feedback! This plugin adds support for Monorepos when using Compose

Benjamin Eberlei 303 Nov 28, 2022
A WordPress eCommerce platform for developers

Hubaga A WordPress eCommerce plugin for developers. It is lightweight and simple to use. Looking for a premium for wordPress search plugin? Check out

null 23 Jul 24, 2021
A WordPress theme switcher for developers

WP Theme Switcher To help you build or preview a new theme directly on your site without affecting your visitors (they always see the default theme wh

WP Clevel 3 Oct 20, 2021
Developers tool for WordPress plugins: Wraps all your projects dependencies in your own namespace

Developers tool for WordPress plugins: Wraps all your projects dependencies in your own namespace, in order to prevent conflicts with other plugins loading the same dependencies in different versions.

Coen Jacobs 362 Dec 23, 2022
List of high-ranking websites powered by WordPress (everything but news and blogs)

Powered By WordPress About 25% of the web is powered by WordPress. A big majority of these sites are private blogs but also heavy-weights such as Sony

MB 19 Dec 23, 2022
Create WordPress themes with beautiful OOP code and the Twig Template Engine

By Jared Novack (@jarednova), Lukas Gächter (@lgaechter), Pascal Knecht (@pascalknecht), Maciej Palmowski (@palmiak_fp), Coby Tamayo (@cobytamayo), Up

Timber 5.2k Jan 5, 2023
This is code to create a new user as admin use for Wordpress FrontEnd Developer to prevent any scaming from clients

theme-setup This is code to create a new user as admin use for Wordpress FrontEnd Developer to prevent any scaming from clients How to use Just copy c

Abdul Razzaq 1 Nov 27, 2021
Awesome Enterprise - a shortcode based low code platform for PHP and WordPress.

Awesome Enterprise Framework Awesome Enterprise is a shortcode based low code platform for PHP and WordPress. You can set it up using composer compose

WPoets - Your WordPress Experts 10 Nov 17, 2022