Please do not post any support questions here. This site is not monitored by us.

This demo site is using AnsPress version 4.1.15.

Syntax highlighter test :)

Featured1.98K viewsAnsPresscode lorem syntax
0

Sample PHP code block below:

/**
 * Return all active addons.
 *
 * @return array
 * @since 4.0.0
 */
function ap_get_active_addons() {
	$active_addons = [];

	foreach ( ap_get_addons() as $addon ) {
		if ( $addon['active'] ) {
			$active_addons[ $addon['id'] ] = $addon;
		}
	}

	return $active_addons;
}

Sample JavaScript code:

window.AnsPress.Helper = {
	toggleNextClass: function(el){
		jQuery(el).closest('.ap-field-type-group').find('.ap-fieldgroup-c').toggleClass('show');
	}
}

So you want to insert an inline code? here is a sample codeĀ $form = new AnsPressForm();

Do you think its cool?

Answered question

This is cool.

test comment

Add a Comment
Write your answer.