Answers for "how to do cross scripting in wordpress in comments"

PHP
0

How to disable Gutenberg / block editor for certain post types

add_filter( 'use_block_editor_for_post_type', 'prefix_disable_gutenberg', 10, 2 );
	function prefix_disable_gutenberg( $current_status, $post_type ) {
		// Use your post type key instead of 'page or post'
		if ( in_array( $post_type, array( 'page', 'post' ) ) ) {
			return false;
		}
		return $current_status;
	}
Posted by: Guest on April-15-2020
0

how to make comments in markdown which do not render in html

[//] <> (This works, parathesis are necessary btw)
[//] # (This is perhaps the most platform independent solution.
In either case, the comments will not render to html,
even if the user selects view source.)
Posted by: Guest on January-01-2020

Code answers related to "how to do cross scripting in wordpress in comments"

Browse Popular Code Answers by Language