Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo {
- ...constructor, etc.
- function to_filter() {
- $output = '<div class="wrap">';
- $output .= $this->another_function();
- $output .= more html
- return apply_filters( 'to_filter_name', $output );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement