Last active
March 24, 2017 05:55
-
-
Save MrJSdev/26b9b4ae3d0372c3f59e9dfc79d099ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Facebook Comment Moderator | |
* @link http://extracatchy.net/add-facebook-comments-in-wordpress/ | |
*/ | |
function be_facebook_comment_moderator() { | |
// Using your individual facebook ID | |
echo '<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}" />'; | |
// Or using a Facebook App ID | |
echo '<meta property="fb:app_id" content="{YOUR_APP_ID}" />'; | |
} | |
add_action( 'wp_head', 'be_facebook_comment_moderator' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment