code_snippets_codemirror_atts

code_snippets_codemirror_atts

Hook Type: filter

See hook in core

Displaying hooks found in version: code-snippets.2.13.3

apply_filters('code_snippets_codemirror_atts') is found 1 times:

  • /php/editor.php line 34
    	}
    
    	// merge the default attributes with the ones passed into the function
    	$atts = wp_parse_args( $default_atts, $override_atts );
    	$atts = apply_filters( 'code_snippets_codemirror_atts', $atts );
    
    	// ensure number values are not formatted as strings
    	foreach ( array( 'indentUnit', 'tabSize' ) as $number_att ) {
    		$atts[ $number_att ] = intval( $atts[ $number_att ] );
    	}