how to call other plugins once custom post has been inserted

I don’t completely understand your question – maybe this will help: wp_insert_post(array( // your woocomm post being inserted )); // at insert, `save_post` will fire add_action( ‘save_post’, ‘my_plugin_save_post’ , 10 , 3 ); function my_plugin_save_post($post_id, $post, $update) { // check other firing of this: if this is a revision, get real post ID if ( … Read more

wp_insert_post not inserting post

I recommend changing the form tag to: This will ensure that the form submits to the same page it is on. Also post_title and post_content are required, so the insert will fail if either of those values are blank or missing. (https://developer.wordpress.org/reference/functions/wp_insert_post/)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)