Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




preview_theme_ob_filter [ WordPress Function ]

preview_theme_ob_filter ( $content )
Access:
  • private
Parameters:
  • (string) $content
Returns:
  • (string)
Defined at:



Callback function for ob_start() to capture all links in the theme.

Source


<?php
function preview_theme_ob_filter$content ) {
    return 
preg_replace_callback"|(<a.*?href=([\"']))(.*?)([\"'].*?>)|"'preview_theme_ob_filter_callback'$content );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics