wpseo_debug_markers

wpseo_debug_markers

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

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_debug_markers') is found 2 times:

  • /src/presenters/debug/marker-close-presenter.php line 23
    		 * Filter: 'wpseo_debug_markers' - Allow disabling the debug markers.
    		 *
    		 * @param bool $show_markers True when the debug markers should be shown.
    		 */
    		if ( ! \apply_filters( 'wpseo_debug_markers', true ) ) {
    			return '';
    		}
    
    		return \sprintf(
    			'<!-- / %s. -->',
    			\esc_html( $this->helpers->product->get_name() )
    
  • /src/presenters/debug/marker-open-presenter.php line 23
    		 * Filter: 'wpseo_debug_markers' - Allow disabling the debug markers.
    		 *
    		 * @param bool $show_markers True when the debug markers should be shown.
    		 */
    		if ( ! \apply_filters( 'wpseo_debug_markers', true ) ) {
    			return '';
    		}
    		$version_info = 'v' . \WPSEO_VERSION;
    
    		if ( $this->helpers->product->is_premium() ) {
    			$version_info = $this->construct_version_info();