Browse Source

fix dep warn from genesis

windhamdavid 5 years ago
parent
commit
a43a730c02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -317,7 +317,7 @@ function captivating_change_posts_per_page( $query ) {
 add_action( 'genesis_after_entry', 'genesis_prev_next_post_nav', 9 );
 
 //* Customize the credits
-add_filter('genesis_footer_creds_text', 'captivating_footer_creds_text');
+add_filter('genesis_pre_get_option_footer_text', 'captivating_footer_creds_text');
 function captivating_footer_creds_text( $creds ) {
     $creds = '<div class="creds">Copyright [footer_copyright] &middot; <a target="_blank" href="http://restored316designs.com/themes">captivating theme</a> by <a target="_blank" href="http://www.restored316designs.com">Restored 316</a></div>';
     return $creds;