rsm_jetpack_ui_modernization_newsletter

rsm_jetpack_ui_modernization_newsletter

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.9

apply_filters('rsm_jetpack_ui_modernization_newsletter') is found 2 times:

  • /_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-subscribers-list.php line 46
    	 * (mirrors `Automattic\Jetpack\Newsletter\Settings::MODERNIZATION_FILTER`). Checked here, on
    	 * `rest_api_init`, so theme-added filters have a chance to land before the gate evaluates.
    	 */
    	public function register_routes() {
    		if ( ! apply_filters( 'rsm_jetpack_ui_modernization_newsletter', false ) ) {
    			return;
    		}
    
    		register_rest_route(
    			$this->namespace,
    			'/subscribers/add',
    
  • /modules/subscriptions.php line 1040
    		 * Referenced as a string literal (mirrors Newsletter\Settings::MODERNIZATION_FILTER)
    		 * to keep this bootstrap path safe if the packaged Newsletter Settings class does
    		 * not expose the constant yet.
    		 */
    		if ( apply_filters( 'rsm_jetpack_ui_modernization_newsletter', false ) ) {
    			return;
    		}
    
    		/**
    		 * Enables the new in development subscribers in wp-admin dashboard.
    		 *