Plugin Directory

Changeset 1870385


Ignore:
Timestamp:
05/07/2018 09:55:59 PM (8 years ago)
Author:
castellar120
Message:

replaced wp_footer hooks with wp_loaded hooks in tags/2.0 folder too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proverbs/tags/2.0/includes/class-proverbs.php

    r1870335 r1870385  
    332332    private function define_general_hooks() {
    333333        $this->loader->add_action( 'init', $this, 'add_categories' );
    334         $this->loader->add_action( 'wp_footer', $this, 'add_proverbs', 11 );
    335         $this->loader->add_action( 'wp_footer', $this, 'attach_categories', 12 );
     334        $this->loader->add_action( 'wp_loaded', $this, 'add_proverbs', 11 );
     335        $this->loader->add_action( 'wp_loaded', $this, 'attach_categories', 12 );
    336336        $this->loader->add_action( 'init', $this, 'create_shortcodes' );
    337         $this->loader->add_action( 'wp_footer', $this, 'add_pages', 14 );
     337        $this->loader->add_action( 'wp_loaded', $this, 'add_pages', 14 );
    338338    }
    339339
Note: See TracChangeset for help on using the changeset viewer.