This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

wp-cli sync specific image

Comments

1 comment

  • Avatar
    Loic Verger Del Bove

    Hi, 

    This is not possible to sync a specific image using the WP-CLI. However, if you are using our auto-sync feature, you can actually request the WP Rest API media endpoint via cURL. For example, if your post_id is 12345, you can cURL the following URL: https://your_domain.com/wp-json/wp/v2/media/12345, this should trigger a sync and you can check the value of the is_cloudinary_synced from the JSON returned from the URL.

    Hope that helps.

    Best,

    Loic

    0
    Comment actions Permalink

Post is closed for comments.