Is it possible to “Update” pages via SQL?

wp_update_post() is a PHP function, and you can’t trigger a page update with MySQL. You need to at least use PHP, but it’s possible that some plugins actually require manually pressing update. For WordPress and WooCommerce content your best bet would be to use the REST API or WP CLI from the command line.

Trash Bin for Categories?

i finded solution for this: add_filter( “cat_notice_row_actions”, ‘trash_row_actions’, 10, 2 ); function trash_row_actions( $actions, $user_object ) { // Remove the Edit action. unset( $actions[‘delete’] ); $catTrash = 10; $id = $user_object->term_id; $taxName = $user_object->taxonomy; $taxParent = $user_object->parent; // Add your custom action. $actions[‘update-parent’] = “<form action=’#’ method=’get’> <input type=”hidden” name=”taxonomy” value=”$taxName”> <input type=”hidden” name=”post_type” value=”noticia”> … Read more