Skip to content

Commit

Permalink
Linter AGAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Nov 2, 2024
1 parent 8932229 commit 1c63354
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/teksttv.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class TekstTVAPI
{
private static $instance = null;

private $wp_timezone;

private const SLIDE_DURATIONS = [
Expand Down Expand Up @@ -221,7 +221,7 @@ private function get_article_slides($block)
private function get_primary_category_image($post_id)
{
$primary_term_id = get_post_meta($post_id, '_yoast_wpseo_primary_category', true);

if ($primary_term_id) {
$term_image = get_field('teksttv_categorie_afbeelding', 'category_' . $primary_term_id);
if (!empty($term_image['url'])) {
Expand Down Expand Up @@ -443,4 +443,4 @@ private function get_debug_info()
// Initialiseer de plugin
add_action('init', function () {
TekstTVAPI::get_instance();
});
});

0 comments on commit 1c63354

Please sign in to comment.