post_author;
$ac_api_key = get_user_meta( $userid, "ac_api_key", true );
if ( strlen( $ac_api_key ) == 0 ) {
$connect_url = admin_url( "admin.php?page=atcontent" );
if ( current_user_can( 'manage_options' ))
{
$connect_url .= '&connectas='.$userid;
}
$author_user = get_userdata( intval( $userid ) );
$author_username = "";
if ( $author_user != false ) {
$author_username = $author_user->user_login;
}
?>
To enjoy all AtContent advantages for this post, please
connect
with AtContent.
ID, "ac_is_process", true );
$ac_is_process_checked = "";
if ( $ac_is_process == "1" || $ac_is_process == "" ) {
$ac_is_process_checked = 'checked="checked"';
}
$ac_postid = get_post_meta( $post->ID, "ac_postid", true );
?>
ID, "ac_is_copyprotect", true );
if ( strlen( $ac_is_copyprotect ) == 0 ) $ac_is_copyprotect = '1';
$ac_is_copyprotect_checked = '';
if ( $ac_is_copyprotect == '1' ) {
$ac_is_copyprotect_checked = "checked=\"checked\"";
}
$plagiarism_quota = 0;
$advanced_tracking_quota = 0;
if ( ac_isjsonly() ) {
?>
0;
$ac_is_advanced_tracking_enabled = $advanced_tracking_quota > 0;
?>
ID, "ac_repost_postid", true );
}
if ( strlen ( $ac_postid_to_promote ) > 0 ) {
?>
Promote with AtContent
post_content, $matches ) ) {
?>