A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
- Headers
- Links
- Bold
| <?php | |
| add_action( 'registered_taxonomy', array( 'APP_Tax_Admin_Column', 'register_column' ), 10, 3 ); | |
| /** | |
| * Generates a column with the associated terms, | |
| * for any taxonomy with 'show_admin_column' => true | |
| */ | |
| class APP_Tax_Admin_Column { |
| /** | |
| * Helper class for controlling all aspects of a view. | |
| * | |
| * Supported methods (automatically hooked): | |
| * - init() - for registering post types, taxonomies, rewrite rules etc. | |
| * - parse_query() - for correcting query flags | |
| * - pre_get_posts() - for altering the query, without affecting the query flags | |
| * - posts_search(), posts_clauses(), posts_request() - for direct SQL manipulation | |
| * - the_posts() - for various other manipulations | |
| * - template_redirect() - for enqueuing scripts etc. |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):