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?
Anonymous Answered question September 30, 2020


Tester commented
test comment

Dr Death commented
Bla bla bla bla bloob

Mike Grant commented
Test Mike

ts commented
testtt

test commented
dfsdf test
Super awesome feature.
$this->assertTrue( anspress()->form_exists( 'form_sample' ) ); $this->assertTrue( anspress()->form_exists( 'sample' ) ); $this->assertFalse( anspress()->form_exists( 'undefinedform' ) );
Charles Posted new comment November 21, 2017

Charles commented
Duis suscipit ultricies pellentesque. Phasellus imperdiet dignissim sapien vitae facilisis. Curabitur nec congue erat.
This is cool.