Esempio n. 1
0
 public static function replace_postinfo($post_info = false)
 {
     if ($post_info && $post_info != '[]') {
         self::$postinfo_shortcodes = $post_info;
         add_filter('genesis_post_info', array(__CLASS__, 'post_info'));
     } else {
         add_action('loop_start', array(__CLASS__, 'delete_postinfo'));
     }
 }