我想在插件中使用get_post_meta,但返回错误值 以下是我的代码:
$wp_tags = array("{ID}","{title}","{music128}","{excerpt}","{content}","{author}","{short_url}","{full_url}","{tags}","{categories}");
$wp_subs = array(
$post->ID,
$post->post_title,
$post_meta = get_post_meta($post->ID, 'music128',true),
wp_trim_words($post->post_content, $excerpt_length, "..."),
$post->post_content,
get_the_author_meta("display_name",$post->post_author),
wp_get_shortlink($ID),
get_permalink($ID),
$tags,
$categories
);
get_post_meta结果是http://*******.com/Music/shahrivar97/Ebrahim20%20-20Deylar.mp3找不到此链接错误404 但原始网址是http://*******.com/Music/shahrivar97/Ebrahim%20Alizade%20%20-%20Sani%20Deylar.mp3