mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Refactor forms to be able to reuse inputs in multiple contexts
This commit is contained in:
parent
213531ca08
commit
9199e44c66
13 changed files with 231 additions and 185 deletions
|
@ -12,6 +12,7 @@ use WP_Error;
|
|||
|
||||
defined( 'WPINC' ) || die();
|
||||
|
||||
// Todo make this into simple optionless blocks instead?
|
||||
add_shortcode( '5ftf_pledge_form_new', __NAMESPACE__ . '\render_form_new' );
|
||||
add_shortcode( '5ftf_pledge_form_manage', __NAMESPACE__ . '\render_form_manage' );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue