What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-27 22:25:01
wordpress get_date
<?php echo get_the_date( 'l F j, Y' ); ?> Add solution -
PHP 2022-03-25 05:40:02
new line php
<?php echo "If you view the page source \r\n you will find a newline in this string."; echo "<br>"; echo nl2br("You will find the \n newlines in this string \r\n on the browser window."); ?> // 2 Way <?php ... Add solution -
PHP 2022-03-24 21:50:46
PHP debugbar - Quick Start
<?php use DebugBar\StandardDebugBar; $debugbar = new StandardDebugBar(); $debugbarRenderer = $debugbar->getJavascriptRenderer(); $debugbar["messages"]->addMessage("hello world!"); ?> <html> <head> ... Add solution -
Javascript 2022-03-15 15:15:11
wordpress ajax url
<?php add_action( 'wp_footer', 'my_ajax_without_file' ); function my_ajax_without_file() { ?> <script type="text/javascript" > jQuery(document).ready(function($) { ajaxurl = '<?php echo admin_url( 'admin-ajax.ph... Add solution -
PHP 2022-03-08 14:00:10
sort acf repeater field alphabetically
<?php // Get repeater value $repeater = get_field('traditional_dining'); // Obtain list of columns foreach ($repeater as $key => $row) { $the_website[$key] = $row['website']; $the_name[$key] = $row['name']; $the_address[$key] = $row['address'];... Add solution
Best helpers
V. G.
+5
Legion123
+5
RBarryYoung
+5
Shawn Wang
+5
LBushkin
+5
OgWestside
+5
Ryan McClure
+5
Mlevin
+5
Darah
+5
Jesse McGrew
+5
PeerPaso
+5
Bad Dog
+5
Cledoux
+5
Tae-gon Kim
+5
Jacques27
+5
E meyr
+5
Pavel Savko
+5
Jude Angione
+5
Human
+5
Aeth
+5
Iwlpe
+5