YoastWPSEOworkouts_options

YoastWPSEOworkouts_options

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('YoastWPSEOworkouts_options') is found 2 times:

  • /src/integrations/admin/workouts-integration.php line 190
    	private function get_workouts_option() {
    		$workouts_option = $this->options_helper->get( 'workouts_data' );
    
    		// This filter is documented in src/routes/workouts-route.php.
    		return \apply_filters( 'Yoast\WP\SEO\workouts_options', $workouts_option );
    	}
    
    	/**
    	 * Returns the notification to show when Premium needs to be updated.
    	 *
    	 * @return string The notification to update Premium.
    
  • /src/routes/workouts-route.php line 83
    		 * Filter: 'Yoast\WP\SEO\workouts_options' - Allows adding workouts options by the add-ons.
    		 *
    		 * @param array $workouts_option The content of the `workouts_data` option in Free.
    		 */
    		$workouts_option = \apply_filters( 'Yoast\WP\SEO\workouts_options', $workouts_option );
    
    		return new WP_REST_Response(
    			[ 'json' => $workouts_option ]
    		);
    	}