WP_list_table prepare_items()

You are processing the New Terms after you’ve displayed the Table List already, so in order to display the new term, as soon as you submit the form, you’d need to process it before you display the table. I’ve added a new function process_form() in here, that handles the processing of new_trem form submission, so … Read more

WP_LIST_TABLE bulk action

When call $synchronizationList->display() every thing about table created, pagination,sort and bulk action but when its create bulk action its just create 2 input one is dropbox that contains all of bulk action and a submit button for apply button so it doesn’t create from tag and when a submit button doesn’t be in a form … Read more

Sorting columns with aliases

Well, I found out that this can be achieved in 1 way. If I specify specific columns that I need instead of using * in my query, it will work. Example: SELECT st.student_id FROM wp_o_students st INNER JOIN wp_o_schools sc ON st.school_id = sc.school_id INNER JOIN wp_marks_list ml ON st.student_id = ml.student_id ORDER BY $orderby … Read more

Ajax Category add doesn’t update the list table custom column

The code is fully functional and tested. Add this in functions.php and check. I am giving you an example using the checkbox in the add and edit for the category. function mytheme_custom_column( $columns ) { $columns[‘my_column’] = ‘My custom column’; return $columns; } add_filter( ‘manage_edit-category_columns’ , ‘mytheme_custom_column’ ); function mytheme_custom_column_fill( $content, $column_name, $term_id ) { … Read more