Skip to content

Instantly share code, notes, and snippets.

@ChrisFlannagan
Created October 6, 2017 00:36
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 ChrisFlannagan/a2f89eef7b65f18bddd0de5987db61b0 to your computer and use it in GitHub Desktop.
Save ChrisFlannagan/a2f89eef7b65f18bddd0de5987db61b0 to your computer and use it in GitHub Desktop.
<?php
/**
* @param $value
* @param $option_value
*/
function my_custom_subtitle( $value, $option_value ) {
?>
<tr>
<th scope="row" class="titledesc" colspan="2">
<h2><?php _e( $value['name']; ?></h2>
</th>
</tr>
<?php
}
add_action( 'give_admin_field_my_custom_subtitle', 'my_custom_subtitle', 10, 5 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment