How do I find the absolute path I need for uploading images?
Answer Posted / Shankar Kumar Goswami
To get the absolute path for uploading images in WordPress, you can use the "get_home_path()" and "get_home_url()" functions. For example: $absolute_path = trailingslashit(get_home_path()) . 'wp-content/uploads';
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers