Plugin in admin panel

Hi

I have a problem.

I wrote a plugin that provides admin manage blog posts and make them publish and unpublish.

I should fetch all posts which is unpublished and show them to admin .

How can I fetch them from database in my plugin ?

I've made settings.php in my plugin and now I want to do the above into it.

Do you have any idea about this issue ??

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking