Skip to content

Instantly share code, notes, and snippets.

@ScottDeLuzio
Last active May 31, 2017 16:51
Show Gist options
  • Save ScottDeLuzio/c329602895e5e9d31061158bdab0f52b to your computer and use it in GitHub Desktop.
Save ScottDeLuzio/c329602895e5e9d31061158bdab0f52b to your computer and use it in GitHub Desktop.
Add text before input
<?php
function show_content_before_fields(){
$contents = '<h1>Teilnehmer-Daten</h1>';
$contents .= 'Conditional fields here:<br>';
echo $contents;
}
add_action( 'cwcfp_before_checkout_fields', 'show_content_before_fields' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment