Skip to content

Instantly share code, notes, and snippets.

@inc2734
Created August 27, 2019 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inc2734/c7d669967f16082ef48e985b848733d0 to your computer and use it in GitHub Desktop.
Save inc2734/c7d669967f16082ef48e985b848733d0 to your computer and use it in GitHub Desktop.
MW WP Form Generator 利用時に確認画面を挟まないようにする
<?php
add_filter(
'mw-wp-form-generator-content',
function( $content ) {
return str_replace( '[mwform_backButton] [mwform_submitButton]', '[mwform_submit]', $content );
},
11
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment