this PR adds 2 new actions to 3 functions (more below). this was a change we made on version we ran on the NASA Flagship site, as we needed to do some data processing once the HTML to Block conversion was done. we felt this would be useful for other folks as well.
found in update_ncc_posts_table and update_posts_table this passes the original post ID and data array, along with a key indicating which table was updated, currently set to ncc or wp.
please let me know if there are any specific commenting or documentation I should add as well. thanks!
this PR adds 2 new actions to 3 functions (more below). this was a change we made on version we ran on the NASA Flagship site, as we needed to do some data processing once the HTML to Block conversion was done. we felt this would be useful for other folks as well.
do_action( 'ncc_after_post_content_saved', $post_id, $blocks_content_patched, $html_content, $blocks_content );
do_action( 'ncc_after_post_table_update', $table, $post_id, $data );
please let me know if there are any specific commenting or documentation I should add as well. thanks!