Last active
December 23, 2020 00:49
-
-
Save tdrayson/22af27be4c537b2e878cf81881aa7b3f to your computer and use it in GitHub Desktop.
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 Custom Code - plugins loaded | |
if ( function_exists( 'acf_add_options_page' ) ) { | |
acf_add_options_page(); | |
} | |
function tct_field($field_name) { | |
return get_field( $field_name, 'option' ); | |
} | |
function tct_field_link($field_name) { | |
return str_replace(' ', '', get_field( $field_name, 'option' )); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment