I wanna include a file form wp-admin/includes directory.
Like this:

require_once(ABSPATH.'/wp-admin/includes/class-wp-list-table.php' );

But this code doesn’t work:
require_once(admin_url('/includes/class-wp-list-table.php'));

I need to call admin directory directly instead of /wp-admin/includes/class-wp-list-table.php. Something like this

require_once(WP_ADMIN.'/includes/class-wp-list-table.php') ;
Can anybody help me please?

Read more here: WP-admin directory direct function


Solution:

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


Wordpress related questions and answers: