Skip to content

Commit

Permalink
fix arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit committed Sep 17, 2020
1 parent cc995e8 commit 681e213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dynamic_Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function get_content_from_template( $attributes ) {
* @param Dynamic_Block $this The Dynamic_Block_Factory instance (passed by reference).
* @param array $attributes block attributes.
*/
do_action( 'hw_dynamic_block_template_argument', $attributes, $this );
do_action( 'hw_dynamic_block_template_argument', $this, $attributes );

$output = $this->get_template_part( join( '/', $path ), $this->get_style_name( $class_name ), $this->args );

Expand Down

0 comments on commit 681e213

Please sign in to comment.