rubengc / edd-fes-draft Goto Github PK
View Code? Open in Web Editor NEWAdds draft submissions to Easy Digital Downloads Frontend Submissions plugin
Adds draft submissions to Easy Digital Downloads Frontend Submissions plugin
I have "Automatically Approve Submissions?" set to true but this nice little extension was not respecting that setting.
I was able to get it to work by checking FES options and changing the status setting:
if ( ! (bool) EDD_FES()->helper->get_option( 'fes-auto-approve-submissions', false ) ) { $post->post_status = 'pending'; } else{ $post->post_status = 'publish'; }
This worked fine for my needs, I did do a pull request because it id likely not a permeant fix as we would need to take into account no publish on editing: DD_FES()->helper->get_option( 'fes-auto-approve-edits', false )
Thanks for the extension~!
Currently this plugins has a function that overrides default actions for vendor product list
EDD FES does not have any filter to changes this output so at this moment user only could do it manually
Currently I can only request this as a feature
Ping to @chriscct7 @pippinsplugins
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.