diff options
Diffstat (limited to 'plugins/jetpack/modules/infinite-scroll.php')
-rw-r--r-- | plugins/jetpack/modules/infinite-scroll.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/infinite-scroll.php b/plugins/jetpack/modules/infinite-scroll.php index 0b782024..a736ef00 100644 --- a/plugins/jetpack/modules/infinite-scroll.php +++ b/plugins/jetpack/modules/infinite-scroll.php @@ -64,6 +64,7 @@ class Jetpack_Infinite_Scroll_Extras { public function action_jetpack_modules_loaded() { Jetpack::enable_module_configurable( __FILE__ ); Jetpack::module_configuration_load( __FILE__, array( $this, 'module_configuration_load' ) ); + add_filter( 'jetpack_module_configuration_url_infinite-scroll', array( $this, 'infinite_scroll_configuration_url' ) ); } /** @@ -78,6 +79,16 @@ class Jetpack_Infinite_Scroll_Extras { } /** + * Overrides default configuration url + * + * @uses admin_url + * @return string module settings URL + */ + public function infinite_scroll_configuration_url() { + return admin_url( 'options-reading.php#infinite-scroll-options' ); + } + + /** * Register Google Analytics setting * * @uses add_settings_field, __, register_setting |