Skip to content

Commit

Permalink
Fix #4286 EDD Before Archive Hook
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowsight1 committed Aug 10, 2024
1 parent 511d347 commit 465df7c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions taxonomy-download_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">

<div id="wrapper">
<?php
/**
* Executes actions before the archive content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
/**
* Executes actions before the post content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );

if ( have_posts() ) {

while ( have_posts() ) {
Expand Down
15 changes: 8 additions & 7 deletions taxonomy-download_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">

<div id="wrapper">
<?php
/**
* Executes actions before the archive content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
/**
* Executes actions before the post content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );

if ( have_posts() ) {

while ( have_posts() ) {
Expand Down

0 comments on commit 465df7c

Please sign in to comment.