WordPress::Base::Text - text helpers


WordPress-API documentation  | view source Contained in the WordPress-API distribution.

Index


NAME

Top

WordPress::Base::Text - text helpers

SYNOPSIS

Top

   use WordPress::Base::Text;

   my $content = slurp('./file');
   my $clean_content = cleanup_html($content);

   my $quick_clean = cleanup_html( slurp('./file');







SUBS

Top

These are not oo

__slurp() and slurp()

argument is abs path, returns content if file not there, returns undef

__cleanup_html() and cleanup_html()

argument is html text, returns cleaned up, takes out font tags, etc


WordPress-API documentation  | view source Contained in the WordPress-API distribution.