My Video array code is –
array( 'name' => __( 'Video', 'jeweltheme' ), 'id' => "video_self", 'type' => 'video', 'max_file_uploads' => 5, 'force_delete' => false, 'max_status' => true, );
You can see that I’m allowing “max_file_uploads” of 5. That’s the problem getting output of the Self Hosted attachment file ids.
I’ve tried with this –
$video_self = jeweltheme_meta('video_self','type=video');
here i’ve made type of “video”. Which is fine I think like “image_advanced”, but the problem is it’s returning only one ID which is last video ID.
Please let me know how can I retrieve all video IDs. This is very urgent, I’m working on a project.
- You must be logged in to reply to this topic.