You can simply remove the old function using remove_action()
hook, and add your own using add_action()
hook.
Example –
remove_action('wp_footer', 'jfb_output_facebook_init');
add_action('wp_footer', 'your_function');
Related Posts:
- Facebook comments box on front page
- How to get user-meta from Social Login registered users?
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Top 3 posts in last week ordered by Facebook and Twitter share counts
- Facebook Like Button On Individual Comments
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- Allow Facebook to preview posts before published
- Shortcode in AJAX popup
- Are there any plugins yet that support Facebook Like, Google +1 and allow Social Interaction tracking on Google Analytics
- WordPress Social Login > Post to a users Facebook wall
- Facebook plugin shows existing comments
- Conditionally add apt. Open Graph meta data to different pages on WordPress site
- Facebook Like needs confirmation?
- How to Add custom subtitle as og:title to Facebook Open Graph Meta Data in WordPress Themes?
- Is there a way to share your Facebook Page’s stream on a WordPress page or post?
- What is generating my meta og:description?
- Updating the Drag-To-Share eXtended share URLs?
- Integrate BuddyPress & Facebook
- Facebook-like Notification Plugin for WordPress Community Blog Sites?
- Want to take Facebook Page posts and turn them into blog post
- Set plugin-values when creating post via REST-API
- Restrict access to content in conjunction with facebook connect & google login
- Integrate Facebook comments with native comments
- How do post a Photo to Facebook when a post is published? [closed]
- How to add FB like + share AND also other Social Buttons on ALL pages and posts?
- Is there a social members only login plugin for WordPress? [closed]
- Posting from WordPress to Facebook [closed]
- How to grab facebook page feed?
- Socialite WP plugin, unable to obtain API keys from FB
- Where is this strange og:description coming from?
- Shortcode does not expand in Facebook like
- how do i change my website facebook login button to another text immediately user login? [closed]
- HTTPS connection with wampserver for “Facebook for WordPress” plugin
- Error: Can´t access facebook comment plugin admin page
- Facebook ‘Share’ and ‘Like’ on individual posts
- Facebook and Twitter share buttons not working [closed]
- Change the Simple Facebook Connect popup position
- Publishing a video from blog to youtube
- How to get Facebook comment plugin in blog? [closed]
- Displaying the facebook profile picture in the WP-FB AutoConnect widget?
- Allow webp use on website but disallow webp as featured image during post creation
- How to stop Facebook mobile in-app browser cache on WordPress
- Facebook sharing image error with facebook debug
- Facebook Quote Plugin for Blockquote?
- How to display the Facebook like count in WordPress theme [closed]
- How to display single arbitrary facebook post with a shortcode?
- Plugin used only on some pages – not widget
- Facebook meta tags not working properly on WordPress Site
- Facebook Feed Grabber Cache Relative to Dev Machine, not Server Install
- Remove ‘Publish to Facebook’ checkbox for Facebook page publish plugin
- Facebook Like Button with NextGen Gallery
- wp_update_post call really slow when official Facebook plugin is installed
- Publishing videos and images from blog to facebook
- Display Facebook photo albums and photo comments?
- Make a magic tag work with Custom Post Types
- Facebook like plugin with Multi Option-Needed [closed]
- Looking for Plugin that displays Facebook group’s photos [closed]
- Open graph issue on my theme
- Facebook comment into my blog
- Serious social interaction [closed]
- True or False: Is an Apache error or PHP error the same as a WordPress error?
- Publish post facebook page & twitter automatically [closed]
- Membership / subscription plugins – alternatives [closed]
- Manually Removing Plugins
- Recommendationf for Quiz Plugin that saves results [closed]
- shortcode doesn’t work
- Will WordPress username displayed somewhere in the site?
- Manually installed plugin doesn’t show up
- upgrade plugin in wordpress
- Are Drop-ins harmful for wordpress website?
- building plugin and it is displaying above plugins page
- Where to hook my plugin’s action
- load_theme_textdomain path
- How to update plugins with database updates if I use svn
- How can I force users to a particular subdomain to log in for MU (Multisite)?
- Why WordPress plugin url ajax doesn’t work?
- Send reply with pre-prepared answers
- Using Wishlist Member and I need to access a user’s status
- How to add wp visual editor in a custom widget?
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- allow photo/video in comments
- Can’t get Gutenberg InspectorControls to work
- order posts by `meta_key`, Does not display posts that does not have `meta_key`
- How to change the wp_upload_dir() path in plugin
- How can I redirect some pages to new subdomain? [closed]
- wp-mail attachment is not sent for no reason?
- I can’t change permalink in WordPress 4.5.3
- Could not add ‘LoginLogout’ link using BAW login logout plugin
- Problem with wordpress has_action() function
- Why activated plugin does not appearing in left side menu bar of WordPress admin area?
- WordPress Dashboard shows no plugins installed!
- Variable passed to each() is not an array
- Plugin activated but plugin files nowhere to be found
- How to create plugin list groups?
- WordPress Code Access to Restricted Content without Registration
- How to pre-set WordPress settings for specific posts?
- Two sites one PC
- PHP if url extension action=discussion condition use [closed]
- Increased max_upload_filesize, but still can’t upload plugin [closed]
- How to connect WordPress media to another host?