I’m trying to create a kind of signalling server. What I’m attempting to do is allow socket connections and respond to 'helo' with a list of already connected peers:
Home/PHP/Page 4
StackOverflow Latest Questions
Add this code to your theme’s functions.php file: add_action( 'wp_insert_comment', 'wc_auto_approve_parent_review_on_admin_reply', 99, 2 ); function wc_auto_approve_parent_review_on_admin_reply( $comment_id, $comment_object ) { // Ensure it's a reply (has a parent comment) if ( $comment_object->comment_parent > 0 ) ...