Created
May 9, 2018 15:53
-
-
Save badabingbreda/6b009bf75e5aaeb8488690dc3914cb14 to your computer and use it in GitHub Desktop.
Toolbox Filter Example - debugging example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'toolbox/helpers/get_acf_field/type=checkbox' , 'show_me_checkbox' , 20, 5 ); | |
function show_me_checkbox( $string , $field_object, $value, $atts, $postid ) { | |
ob_start(); | |
var_dump( $field_object ); | |
return ob_get_clean(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment