• I need call a function that is within the file
    post.php found inside the folder wp-admin \ includes \ post.php.

    Someone could tell me how can I do that?

Viewing 1 replies (of 1 total)
  • In your codes use require_once to require a php file, then you can call all functions in the file directly.

    Note: If the function belongs to a class definition, a object must be create to use the function. Maybe you can use a global object such as $post, $comment, $wpdb, etc.

    I am a beginner. Hope it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘How to call function?’ is closed to new replies.