Change the address of the music player if not available
Question
$mp3Linkger = wp_get_attachment_url($mp3_file_id);
$mp3Link = wp_get_attachment_url($mp3_file_id);
$mp3Link = str_replace( 'example.COM', 'static.example.COM', $mp3Link );
$playerTag = '';
In the above code
$playerTag loads the link
$mp3Linkger Is broadcast
I want to load $mp3Link if $mp3Linkger was not available
Not available like Down Server or 404 error and …
0
2 years
2020-12-25T06:10:28-05:00
2020-12-25T06:10:28-05:00 0 Answers
2 views
0
Leave an answer