Code Duplication    Length = 3-3 lines in 2 locations

src/class-hook-loader.php 2 locations

@@ 112-114 (lines=3) @@
109
	 * @since    1.0.0
110
	 */
111
	public function run() {
112
		foreach ( $this->filters as $hook ) {
113
			add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
114
		}
115
116
		foreach ( $this->actions as $hook ) {
117
			add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
@@ 116-118 (lines=3) @@
113
			add_filter( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
114
		}
115
116
		foreach ( $this->actions as $hook ) {
117
			add_action( $hook['hook'], array( $hook['component'], $hook['callback'] ), $hook['priority'], $hook['accepted_args'] );
118
		}
119
	}
120
}
121