Git Product home page Git Product logo

epicagency / nyco-wp-s3-all-import-compatibility Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cityofnewyork/nyco-wp-s3-all-import-compatibility

0.0 2.0 0.0 98 KB

A developer plugin for WordPress that ensures compatibility between hummanmade / S3 Uploads and WP All Import. Maintained by @NYCOpportunity

Home Page: https://packagist.org/packages/nyco/wp-s3-all-import-compatibility

License: GNU General Public License v3.0

PHP 100.00%

nyco-wp-s3-all-import-compatibility's Introduction

NYCO WordPress S3 Uploads and WP All Import Compatibility

A developer plugin for WordPress that ensures compatibility between hummanmade / S3 Uploads and WP All Import. It disables S3 Uploads while WP All Import is being viewed or used in the admin. This ensures the plugin can operate on the uploads directory normally.

Installation using Composer

$1 This package uses Composer Installers to install the package in the Must Use plugins directory (/wp-content/mu-plugins):

composer require nyco/wp-s3-all-import-compatibility

Not using Composer? Download an archive of the code and drop it into the mu-plugins directory.

$2 Create a proxy PHP loader file inside the mu-plugins directory, or use the one included with the plugin:

mv wp-content/mu-plugins/wp-s3-all-import-compatibility/autoloader-sample.php wp-content/mu-plugins/wp-s3-all-import-compatibility.php

Initialization

Ensure your S3-Uploads folder is all lowercase, i.e. s3-uploads. Since the folder is case sensitive, S3-Uploads will not work.

The sample autoloader contains the basic code required to initialize the plugin. It will add hooks necessary to deactivate S3 Uploads and reactivate when necessary while using WP All Import.


The Mayor's Office for Economic Opportunity

The Mayor's Office for Economic Opportunity (NYC Opportunity) is committed to sharing open source software that we use in our products. Feel free to ask questions and share feedback. Interested in contributing? See our open positions on buildwithnyc.github.io. Follow our team on Github (if you are part of the @cityofnewyork organization) or browse our work on Github.

nyco-wp-s3-all-import-compatibility's People

Contributors

devowhippit avatar lionelyoung avatar

Watchers

 avatar  avatar

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.