Support » Plugin: Subscribr » Variable for displaying post category

Viewing 1 replies (of 1 total)
  • Plugin Author Mindshare Labs, Inc.

    (@mindshare)

    No, you basically only get access to item in the WP_User object and get_bloginfo() and these:

    '%post_title%'          => get_the_title($post_id),
    				'%post_type%'           => get_post_type($post_id),
    				'%post_date%'           => date(get_option('date_format'), strtotime(get_post($post_id)->post_date)),
    				'%post_excerpt%'        => wp_trim_words(get_post($post_id)->post_content, $num_words = 55, $more = NULL),
    				'%permalink%'           => get_permalink($post_id),
    				'%site_name%'           => get_bloginfo('name'),
    				'%site_url%'            => get_home_url(),
    				'%notification_label%'  => $this->get_option('notification_label'),
    				'%notifications_label%' => $this->get_option('notifications_label'),
    				'%profile_url%'         => admin_url('profile.php'),
    				'%user_ip%'             => $_SERVER['REMOTE_ADDR']

Viewing 1 replies (of 1 total)
  • The topic ‘Variable for displaying post category’ is closed to new replies.