Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ACF Template Builder - Add a custom shortcode attribute
add_filter( 'bbacf/helpers/sc_attr/type=google_map' , 'add_color_sc_attribute' );
* add the postid attribute to the default sc attr
* @param [type] $array [description]
* @return [type] [description]
function add_color_sc_attribute( $array ) {
return array_merge(
'color' => null,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.