28 lines
625 B
PHP
28 lines
625 B
PHP
<?php
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
die( 'Direct access forbidden.' );
|
|
}
|
|
|
|
if ( ! function_exists( 'solarify_post_like_button' ) ) :
|
|
/**
|
|
* Print like button
|
|
*/
|
|
function solarify_post_like_button( $postID ) {
|
|
if ( function_exists( 'mwt_post_like_button' ) ) {
|
|
mwt_post_like_button( $postID );
|
|
}
|
|
} //solarify_post_like_button()
|
|
endif;
|
|
|
|
if ( ! function_exists( 'solarify_post_like_count' ) ) :
|
|
/**
|
|
* Print like counter value
|
|
*/
|
|
function solarify_post_like_count( $postID ) {
|
|
if ( function_exists( 'mwt_post_like_count' ) ) {
|
|
mwt_post_like_count( $postID );
|
|
}
|
|
|
|
} //solarify_post_like_count()
|
|
endif;
|