ed string if Polylang is not active
*
* @param $string
*
* @return void
*/
if ( !function_exists( 'pll_e' ) ) {
function pll_e( $str ) {
echo $str;
}
}
/**
* A fallback function that returns a non-translated string if Polylang is not active
*
* @param $string
*
* @return string
*/
if ( !function_exists( 'pll__' ) ) {
function pll__( $str ) {
return $str;
}
}
/*
function otb_img_attachment_fields( $form_fields, $post ) {
$form_fields['cssgramFilter'] = array(
'label' => 'Instagram Filter',
'input' => 'html',
'html' => '
',
'show_in_edit' => false,
);
return $form_fields;
}
add_filter("attachment_fields_to_edit", "otb_img_attachment_fields", null, 2);
*/
/**
* Wrap the inserted image html with