Coder Social home page Coder Social logo

facebook / dont-use-facebook-for-woocommerce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/facebook-for-woocommerce

4.0 1.0 3.0 11.71 MB

A first-party extension plugin built for WooCommerce.

Home Page: https://www.woocommerce.com/products/facebook

License: GNU General Public License v2.0

CSS 0.74% JavaScript 2.66% PHP 96.13% Shell 0.47%

dont-use-facebook-for-woocommerce's Introduction

Facebook for WooCommerce

PHP Coding Standards

This is the development repository for the Facebook for WooCommerce plugin.

Support

The best place to get support is the WordPress.org Facebook for WooCommerce forum.

If you have a WooCommerce.com account, you can search for help or submit a help request on WooCommerce.com.

Logging

The plugin offers logging that can help debug various problems. You can enable debug mode in the main plugin settings panel under the Enable debug mode section. By default plugin omits headers in the requests to make the logs more readable. If debugging with headers is necessary you can enable the headers in the logs by setting wc_facebook_request_headers_in_debug_log option to true.

Development

Developing

  • Clone this repository into the wp-content/plugins/ folder your WooCommerce development environment.
  • Install dependencies:
    • npm install
    • composer install
  • Build assets:
    • npm start to build a development version
  • Linting:
    • npm run lint:php to run PHPCS linter on all PHP files
  • Testing:
    • ./bin/install-wp-tests.sh <test-db-name> <db-user> <db-password> [db-host] to set up testing environment
    • npm run test:php to run PHP unit tests on all PHP files

Production build

  • npm run build : Builds a production version.

Releasing

Refer to the wiki for details of how to build and release the plugin.

PHPCS Linting and PHP 8.1+

We currently do not support PHPCS on PHP 8.1+ versions. Please run PHPCS checks on PHP 8.0 or lower versions. Refer #2624 PR for additional context.

dont-use-facebook-for-woocommerce's People

Contributors

rawdreeg avatar budzanowski avatar ibndawood avatar danielbitzer avatar message-dimke avatar layoutd avatar mengyingdu avatar jpry avatar dmitridr avatar ecgan avatar rcstr avatar krutidugade avatar brezocordero avatar haszari avatar eason9487 avatar vahidkay-meta avatar tomalec avatar mikkamp avatar nima-karimi avatar zyn3zz avatar ianlin avatar rahulraina7 avatar aashay avatar tahoff avatar longcfb avatar wvega avatar alexndlm avatar helgatheviking avatar wilmerlm11 avatar dependabot[bot] avatar

Stargazers

Danella avatar Yunus Mechery avatar  avatar Legacy Media Solutions avatar

Watchers

 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.