• Hello Peter,

    I would like to allow edit from the bulk actions of my table. Ideally all my table fields will be available in the bulk edit window.

    I have been testing:
    added custom post type (cpt)
    add_filter(‘manage_cpt_posts_columns’, ‘add_cpt_columns’);
    add_action(‘manage_cpt_custom_column’, ‘populate_cpt_columns’, 10, 2);
    etc …

    this works and adds columns to the quick edit and bulk edit of my custom posts.
    ————–

    It looks like I will need a different approach for your plugin. I have tried modifying different parts of \wp-data-access\WPDataAccess\Wordpress_Original\WP_List_Table.php without success.

    Can you point me in the right direction to bulk edit my field values?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi b..b,

    I think you can use filter manage_cpt_posts_columns and hook manage_cpt_custom_column for custom post types only. WP Data Access does not work with custom post types. Not yet… Adding custom post types is on my to do list! 🙂

    You could write your own bulk edit feature. There is a documentation page on the plugin website where all available plugin hooks and filter are explained:
    https://wpdataaccess.com/code/
    I might want to have a look at action hook wpda_before_list_table for this purpose.

    Best regards,
    Peter

    Thread Starter b…b

    (@bb-4)

    Thanks for the input. I’ll post the code if I get things working.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Great! 🙂

    Good luck,
    Peter

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bulk Edit and Quick Edit’ is closed to new replies.