I will briefly clarify the task - I am writing a small plugin for authorization, registration and other user interactions with the site. In one part of the code that is responsible for the user's login, I want to perform verification actions in a separate file in the same directory. In the form of an action I address to the desired file
<form name="loginform" id="loginform" action="'. plugins_url('check_data.php', __FILE__) .'" method="post"> The check_data.php file is included in the plug-in file being initialized, but WordPress functions do not work in this file. I get an error of such a plan. Fatal error: Call to undefined function wp_signon() in