I am developing a blog theme, I would like to change the output of the audio gutenberg block to native wordpress. Any hint

Gutenbergs output: <audio controls="" src="http://photer/wp-content/uploads/2019/10/salamisound-1020034-brushing-with-a-toothbrush-4.mp3"></audio>,enter image description here

I would like to deduce how the WordPress widget does it, like wp_audio_shortcode. enter image description here

thanks to everyone who answers I will be glad of any help


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.