' . sprintf( '%s HTML %s: %s', __( 'You may use these', 'agama' ), __( 'tags and attributes', 'agama' ), '' . allowed_tags() . '') . '
';
}
$defaults['title_reply'] = sprintf( '%s %s', __( 'Leave a', 'agama' ), __( 'Comment', 'agama' ) );
$defaults['class_submit'] = 'button button-3d button-large button-rounded';
return $defaults;
}
add_filter( 'comment_form_defaults', 'agama_comment_form_defaults' );
/**
* Set the WPForms ShareASale ID.
*
* @param string $shareasale_id The the default Shareasale ID.
*
* @since 1.3.5
* @return string $shareasale_id
*/
function agama_wpforms_shareasale_id( $shareasale_id ) {
// If this WordPress installation already has an WPForms Shareasale ID
// specified, use that.
if ( ! empty( $shareasale_id ) ) {
return $shareasale_id;
}
// Define the Shareasale ID to use.
$shareasale_id = '1355534';
// This WordPress installation doesn't have an Shareasale ID specified, so
// set the default ID in the WordPress options and use that.
update_option( 'wpforms_shareasale_id', $shareasale_id );
// Return the Shareasale ID.
return $shareasale_id;
}
add_filter( 'wpforms_shareasale_id', 'agama_wpforms_shareasale_id' );
/* Omit closing PHP tag to avoid "Headers already sent" issues. */