Giter Site home page Giter Site logo

wp-amazon-s3-and-cloudfront-tweaks's Introduction

WP Offload Media Tweaks

This is a WordPress plugin, meant as a starting point for developers to tweak WP Offload Media and WP Offload Media Lite using WordPress filters.

Installation

Create a /amazon-s3-and-cloudfront-tweaks/ folder in /wp-content/plugins/ and simply drop the amazon-s3-and-cloudfront-tweaks.php file into it. Then go to the Plugins page in your WordPress dashboard and activate it.

Setup

Open the amazon-s3-and-cloudfront-tweaks.php file and take a look at the __construct() function. You will notice that all the calls to add_filter() are commented out. So, at the moment the plugin does nothing even though it's activated. To enable a filter, simply uncomment the appropriate add_filter() line, but please make sure the corresponding function further down in the plugin's source has been adjusted to fit your needs.

Most of the examples in the plugin's handler functions will need editing before they can be used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.