New answers tagged

0

If the import function you're using uses wp_insert_post() (used also by wp_insert_attachment()) to add the new images (attachment posts) to your site, then you could perhaps use the wp_insert_attachment_data( array $data, array $postarr ) filter, which is defined inside wp_insert_post(). According to the docs it, Filters attachment post data before it is ...


0

You just create a folder called videos/and any subfolders/ inside your cpanel public_html directory then move the video from from the wordpress upload folder to the newly created videos folder or any sub directory you want to put it inside the videos folder. and thats it


0

Oh, well, while writing the question I tried to copy the full link that takes the ajax call: example.com/wp-admin/async-upload.php and noticed that for the subscibers it was taking the user to their account page while the admins where getting The link you followed has expired. Notice on the screen. And then I got the 'Aha' moment - I was restricting no-...


Top 50 recent answers are included