First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
const { __ } = wp.i18n; | |
const { registerBlockType } = wp.blocks; | |
const el = wp.element.createElement; | |
registerBlockType( 'hiRoy/serverSide', { | |
title: __( 'Server Side Block', 'text-domain' ), | |
icon: 'networking', | |
category: 'common', | |
attributes: { |
var items = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; | |
var id_array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; | |
var union = function (p, q) { | |
var pId = id_array[p]; | |
var qId = id_array[q]; | |
if (items[p] === items[q]) { | |
return; |
<?php | |
/* | |
Register Fonts | |
*/ | |
function studio_fonts_url() { | |
$font_url = ''; | |
/* | |
Translators: If there are characters in your language that are not supported | |
by chosen font(s), translate this to 'off'. Do not translate into your own language. |