Open httpd.conf file present in C:\xampp\apache\conf\httpd.conf Remove the #(hash) sign present to include the “httpd-vhosts.conf” file in httpd.conf file.
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
To
| /** | |
| * Restrict access to the locking UI to Administrators. | |
| * | |
| * @param array $settings Default editor settings. | |
| * @param WP_Block_Editor_Context $context The current block editor context. | |
| */ | |
| function example_theme_restrict_locking_ui( $settings, $context ) { | |
| $settings[ 'canLockBlocks' ] = current_user_can( 'activate_plugins' ); | |
| return $settings; |
| /** | |
| * Restrict access to the locking UI and the Code Editor | |
| * to Administrators. | |
| * | |
| * @param array $settings Default editor settings. | |
| * @param WP_Block_Editor_Context $context The current block editor context. | |
| */ | |
| function example_theme_restrict_locking_ui( $settings, $context ) { | |
| $is_administrator = current_user_can( 'activate_plugins' ); |
| <?php | |
| add_action( 'acf/init', function() { | |
| // Get all the local field groups and loop through them for processing. | |
| $field_groups = acf_get_local_field_groups(); | |
| foreach ( $field_groups as $group ) { | |
| // If the field group has fields, load them into the 'fields' key. | |
| if ( acf_have_local_fields( $group['key'] ) ) { | |
| $group_fields = acf_get_local_fields( $group['key'] ); |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Beats Per Minute Calculator and Counter</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
| [05-Mar-2021 08:21:18 UTC] Array | |
| ( | |
| [group] => 0 | |
| [original_size] => 71356 | |
| [final_size] => 23693 | |
| [element] => DOMElement Object | |
| ( | |
| [tagName] => link | |
| [schemaTypeInfo] => | |
| [nodeName] => link |
| composer self-update - To update Composer itself to the latest version. |
| .gform_wrapper textarea, | |
| .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) { | |
| font-size: 14px; | |
| padding: 7px 10px !important; | |
| letter-spacing: normal; | |
| border: 1px solid #fff; | |
| width: 100%; | |
| font-weight: 600; | |
| } | |
| <?php | |
| /** | |
| * Broadbean Integration Class that handles custom endpoints in adding, updating and deleting job adverts. | |
| * | |
| * @package Divi | |
| */ | |
| /** | |
| * Custom WP ENDPOINT for Broadbean integration | |
| */ |
| <?php | |
| /** | |
| * Widget API: WP_Widget_Better_Recent_Posts class | |
| */ | |
| /** | |
| * Register and load the widget. | |
| * | |
| * @return void | |
| */ |