I am working on a plugin.

Now my hierarchy is user install my plugin and make a folder “articles” in current theme. And my function paste some files in that folder. Now i don’t get the point that how can i check that theme has “articles” folder.

e.g.

if(current_theme_has_folder("articles")){
    // do this
}
else{
    // Nothing
}

I want like this condion. So i can move some files in this folder.

Any idea. Its urgent

Read more here: How to check theme has "Articles" folder in wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: