32 add_filter(
'gravityview/fields/fileupload/extension', array( $this,
'filter_file_extension' ) );
33 add_filter(
'gravityview/fields/fileupload/file_path', array( $this,
'filter_file_path' ) );
34 add_filter(
'gravityview/fields/fileupload/image_atts', array( $this,
'filter_image_atts' ) );
50 if (
false === strpos( $image_source,
'?raw=1' ) ) {
71 $extension = str_replace(
'?dl=0',
'', $string );
90 return str_replace(
'?dl=0',
'?raw=1', $string );
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...
static get_image_extensions()
Returns an array of file extensions recognized by GravityView as images.