Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
simple_fb_share_button_options.php 1.17 KiB
<?php
/*
 * OPTIONS PAGE FOR SIMPLE FACEBOOK SHARE BUTTON
 */

/**
 * Stub function to prevent fatal errors if a developer hooked into this somewhere.
 *
 * @return false
 */
function SFBSB_admin_init() {
	return false;
}

/**
 * Stub function to prevent fatal errors if a developer hooked into this somewhere.
 *
 * @return false
 */
function SFBSB_menu() {
	return false;
}

/**
 * Stub function to prevent fatal errors if a developer hooked into this somewhere.
 *
 * @return null
 */
function SFBSB_help() {
	return;
}

/**
 * Stub function to prevent fatal errors if a developer hooked into this somewhere.
 *
 * @return string
 */
function SFBSB_options() {
?>
	<div class="wrap">
		<h2>Simple Facebook&reg; Share Button by <a href="http://www.ethitter.com/plugins/" target="_blank" style="text-decoration:none;">Erick Hitter</a></h2>

		<p>On July 17, 2012, Facebook completely dropped support for the Share button, rendering this plugin useless. You should deactivate and delete it at your earliest convenience.</p>
	</div>
	<?php
}

/**
 * Stub function to prevent fatal errors if a developer hooked into this somewhere.
 *
 * @return false
 */
function SFBSB_validation() {
	return false;
}
?>