Skip to content

Common WordPress functions to include in your project

License

Notifications You must be signed in to change notification settings

sgtcoder/WP-Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Functions

Common WordPress functions to include in your project.

GitHub GitHub last commit GitHub tag

Overview

I have worked on many WordPress projects and there are a list of functions I see myself having to write in every project. Until now, there is now a composer for it!

Installation

This project assumes that you have general knowledge of a LAMP stack environment.

  • Add this repository to your composer.json (since it's not in packagist.org)
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/sgtcoder/wp-functions.git"
    }
]
  • Run composer install sgtcoder/wp-functions

Setup

  • Look at the /vendor/sgtcoder/wp-functions/src/functions.php file for functions

Future

  • More Functions will be added

Meta

Michael J Brancato – @sgtcodermike@sgtcoder.com

Distributed under the GNU GENERAL PUBLIC LICENSE Version 3. See LICENSE for more information.

https://github.com/sgtcoder/WP-Functions

Added Features

  • Ability to disable functions as comma seperated: define('WP_DISABLED_FUNCTIONS', 'request,remove_emoji');

Contributing

  1. Fork it (https://github.com/sgtcoder/WP-Functions/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Questions

If you have any questions or feedback, please email me at mike@sgtcoder.com

About

Common WordPress functions to include in your project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages