| 1 |
<?php |
| 2 |
/** |
| 3 |
* Themes must declare that they support this module by adding |
| 4 |
* add_theme_support( 'social-links' ); on 'after_setup_theme'. |
| 5 |
*/ |
| 6 |
function jetpack_load_additional_modules() { |
| 7 |
if ( current_theme_supports( 'social-links' ) ) |
| 8 |
require_once 'social-links/social-links.php'; |
| 9 |
} |
| 10 |
add_action( 'init', 'jetpack_load_additional_modules' ); |
| 11 |
|