Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

vc_map type number

<?php
// [bartag foo="foo-value"]
add_shortcode( 'bartag', 'bartag_func' );
function bartag_func( $atts ) {
 extract( shortcode_atts( array(
  'foo' => 'something'
 ), $atts ) );
  
 return "foo = {$foo}";
}
?>
Source by kb.wpbakery.com #
 
PREVIOUS NEXT
Tagged: #type #number
ADD COMMENT
Topic
Name
3+4 =