function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() )
{
if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'date', $extra_args ) )
{
$args['heading'] = 'h3';
$args['extra_class'] = 'my-timeline-class';
}
if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'title', $extra_args ) )
{
$args['heading'] = 'h2';
$args['extra_class'] = 'my-timeline-class';
}
return $args;
}
add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
Adresse
Webers Webdesign
Ludwig-Schopp-Straße 27
53117 Bonn