• Hello
    I’m developing an admin-side plugin for WordPress admin and authors to be involved in the post edit screen when an article is being drafted.
    I am trying to add a button on the WP post-edit page, which when clicked will send the post’s content to a python script that implements NLP, and uploads the processed data to a MySQL database and finally notify the plugin code running once the data is uploaded. My PHP code will then pull the data from the MySQL DB and display it on a pop-up screen for the author to see.

    I want to add the button in the position shown (check out this link Screenshot of post-edit screen ( button location ) ). The flow is similar to any text analysis plugin (but I want to call the analysis functionality only when clicked). I need help with locating the exact documentation that shows how my plugin, when activated can add the button and register the functions to call. Would appreciate a pointer or two on this! Currently I’m looking at the source code of Easy Content Analysis and WProofReader.
    (And I can call a PHP function in my plugin that can inturn call my python script too.)

    • This topic was modified 3 years, 8 months ago by uchavarkar.
    • This topic was modified 3 years, 8 months ago by uchavarkar.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add a button on WP post-edit page, which when clicked will call a python script.’ is closed to new replies.