SHARE
TWEET

function child

a guest Aug 8th, 2015 199 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. add_action('after_setup_theme','remove_parent_functions');
  3. function remove_parent_functions() {
  4.    remove_action('excerpt_length','responsivepro_excerpt_length');
  5.    add_action('excerpt_length','new_responsivepro_excerpt_length');
  6. }
  7.  
  8. // Exit if accessed directly
  9. if( !defined( 'ABSPATH' ) ) {
  10.         exit;
  11. }
  12.  
  13. /**
  14.  *
  15.  * WARNING: Please do not edit this file in any way
  16.  *
  17.  * load the theme function files
  18.  */
  19. $template_directory = get_template_directory();
  20. require( $template_directory . '/core/includes/functions.php' );
  21. require( $template_directory . '/core/includes/functions-update.php' );
  22. require( $template_directory . '/core/includes/functions-sidebar.php' );
  23. require( $template_directory . '/core/includes/functions-install.php' );
  24. require( $template_directory . '/core/includes/functions-admin.php' );
  25. require( $template_directory . '/core/includes/functions-extras.php' );
  26. require( $template_directory . '/core/includes/functions-extentions.php' );
  27. require( $template_directory . '/core/includes/theme-options/theme-options.php' );
  28. require( $template_directory . '/core/includes/post-custom-meta.php' );
  29. require( $template_directory . '/core/includes/tha-theme-hooks.php' );
  30. require( $template_directory . '/core/includes/hooks.php' );
  31. require( $template_directory . '/core/includes/version.php' );
  32. require( $template_directory . '/core/includes/upsell/theme-upsell.php' );
  33. require( $template_directory . '/pro/init.php' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top