PHP get image extension from url 61 viewsAugust 8, 2021PHP WordPress WP Functions 0 Jagdish Sarma630 August 8, 2021 0 Comments $imagep = get_sub_field('image'); $ext = pathinfo($imagep, PATHINFO_EXTENSION); Jagdish Sarma Asked question August 8, 2021 Add a Comment 0 Answers ActiveVotedNewestOldest Write your answer. Login