Changeset 2834023
- Timestamp:
- 12/14/2022 08:21:36 PM (3 years ago)
- Location:
- rock-content
- Files:
-
- 2 edited
-
tags/3.0.2/inc/Integrations/RockAnalytics.php (modified) (1 diff)
-
trunk/inc/Integrations/RockAnalytics.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rock-content/tags/3.0.2/inc/Integrations/RockAnalytics.php
r2834020 r2834023 43 43 'post_date' => strtotime( $post->post_date ), 44 44 'post_author' => get_the_author_meta( 'display_name', $post->post_author ), 45 'categories_json' => wp_json_encode( setup_chorus_analytics_get_post_categories( $post->ID ) ),46 'tags_json' => wp_json_encode( setup_chorus_analytics_get_post_tags( $post->ID ) ),47 'word_count' => setup_chorus_analytics_get_post_word_count( $post->ID ),45 'categories_json' => wp_json_encode( $this->setup_chorus_analytics_get_post_categories( $post->ID ) ), 46 'tags_json' => wp_json_encode( $this->setup_chorus_analytics_get_post_tags( $post->ID ) ), 47 'word_count' => $this->setup_chorus_analytics_get_post_word_count( $post->ID ), 48 48 'published_by_studio' => ( get_post_meta( $post->ID, 'published_by_studio', true ) ? 'true' : 'false' ), 49 49 ); -
rock-content/trunk/inc/Integrations/RockAnalytics.php
r2834020 r2834023 43 43 'post_date' => strtotime( $post->post_date ), 44 44 'post_author' => get_the_author_meta( 'display_name', $post->post_author ), 45 'categories_json' => wp_json_encode( setup_chorus_analytics_get_post_categories( $post->ID ) ),46 'tags_json' => wp_json_encode( setup_chorus_analytics_get_post_tags( $post->ID ) ),47 'word_count' => setup_chorus_analytics_get_post_word_count( $post->ID ),45 'categories_json' => wp_json_encode( $this->setup_chorus_analytics_get_post_categories( $post->ID ) ), 46 'tags_json' => wp_json_encode( $this->setup_chorus_analytics_get_post_tags( $post->ID ) ), 47 'word_count' => $this->setup_chorus_analytics_get_post_word_count( $post->ID ), 48 48 'published_by_studio' => ( get_post_meta( $post->ID, 'published_by_studio', true ) ? 'true' : 'false' ), 49 49 );
Note: See TracChangeset
for help on using the changeset viewer.