| Server IP : 104.21.28.229 / Your IP : 216.73.216.142 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/public_html/wp-content/plugins/learnpress/inc/admin/meta-box/fields/ |
Upload File : |
<?php $option_value = $value['value']; ?>
<tr valign="top">
<th scope="row" class="titledesc">
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?> <?php echo wp_kses_post( $tooltip_html ); ?></label>
</th>
<td class="forminp forminp-<?php echo esc_attr( sanitize_title( $value['type'] ) ); ?> lp-metabox__custom-fields">
<table class="widefat">
<thead>
<tr>
<th class="sort"> </th>
<?php
if ( $value['options'] ) {
foreach ( $value['options'] as $key => $val ) {
?>
<th><?php echo wp_kses_post( $value['options'][ $key ]['title'] ); ?> <?php echo isset( $value['options'][ $key ]['desc_tip'] ) ? learn_press_quick_tip( $value['options'][ $key ]['desc_tip'], false ) : ''; ?></th>
<?php
}
}
?>
<th> </th>
</tr>
</thead>
<tbody>
<?php
if ( $option_value ) {
foreach ( $option_value as $key => $values ) {
lp_metabox_custom_fields( $value, $values, $key );
}
}
?>
</tbody>
<tfoot>
<tr>
<th colspan="5">
<a href="#" class="button insert lp-metabox-custom-field-button" data-row="
<?php
ob_start();
lp_metabox_custom_fields( $value, '', 'lp_metabox_custom_fields_key' );
echo esc_attr( ob_get_clean() );
?>
"><?php esc_html_e( 'Add new', 'learnpress' ); ?></a>
</th>
</tr>
</tfoot>
</table>
<?php echo wp_kses_post( $description ); ?>
</td>
</tr>