first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?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;
|
||||
Reference in New Issue
Block a user