Filters the image URL sent to the editor.
$html, sanitize_url( $src
Sortie :
@param string $html HTML markup sent to the editor for an image. @param string $src Image source URL. @param string $alt Image alternate, or alt, text. @param string $align The image alignment. Default 'alignnone'. Possible values include
// Modifier la valeur avec le filtre 'image_send_to_editor_url'
add_filter('image_send_to_editor_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($html) {
// Modifier la valeur
return $html;
}
Chargement des actualités...