The value of index ‘link’ of the array $plane_details is a string, and thus $value[0] gives you the first letter only.
Just replace $value[0] by $value and all should be fine.
Why are you referencing the value this way, anyway?
Related Posts:
- Allow two posts (from different categories) to have the same slug
- Test the existence of a page/article by its URL, taking in consideration the URL rewriting by filters
- Sending simple variable on single page to WP JSON
- 404 on old link after changing post url
- Prevent header and footer from loading on specific pages with template or plugin
- Create an array with all the links of the years’ archive (of a custom post type)
- Display just one post from a loop of 5 posts?
- Order users by random not working?
- Redux option doensn’t seem when include from functions.php
- Integrate admin plugin into template. Very interesant (live search + autocomplete with wp rest api, in vanilla js)
- Require()/Include() post template adding extra content
- Display articles with a different template in the home page | Solved |
- in_array not working on dev server but works on localhost
- url not using query string no longer working
- Display metabox galleries on specific page template in admin editor
- Display WordPress archive template page in 3 columns and not 1 column [closed]
- Run do_shortcode on php template using JS function
- How to hardcode header and footer in WP?
- Custom PHP form needs refresh to load page correctly
- Child-Theme Category View with modified permalinks (%category% removed)
- What are the advantages/disadvantages of ways to use php template files?
- Change the “Show All” button in a WordPress Portfolio Filter
- Check if current post in loop is last on current page
- How can I show how much water got saved on this order (making use of the number of items bought) on a thank-you-page?
- how to separate an array into different arrays and save them into db?
- How to insert multiple rows and columns in database using array
- Display one random image from Media Library
- Rewrite rule not working, but only when parameter is text
- How to display MySQL table data which is stored as an array?
- Converting Array to String Issue [closed]
- ACF – Custom image for Product Tags not displaying
- How does Permalink work with the AMP plugin after Removing Parent Permalink Catalog from Posts
- Get WordPress username to customize url
- Polylang and template files
- Permalink doesn’t navigate to post (changes only url)
- ACF – Get ID of relationship field in flexible content
- Roots Sage Symfony error when using override from template
- Post permalink buttons all going to the first post
- Permalink changes after several minutes after saving post
- How to edit button permalink inside function.php using a child theme?
- Replace an array (with identical values) with another array in the_content
- WordPress/NGINX not respecting the category URL for new posts
- Show the subcategory name based on current product
- WordPress generates weird permalinks
- Permalink like example.com/taxonomy/post_type/postname
- How to filter specific element of an array in wordpress/php?
- How do I stop my form from adding code to current page URL instead of re-directing. Been stuck for days
- How to create dynamic templates?
- If is_page elseif is_page not working like I want it to
- WP post meta – for loop inside for loop
- image on homepage disappeared due to change of permalink name
- Change WooCommerce template for PDF – access to custom field
- get_category_parents to array
- Notice : Array to string conversion on array_intersect user meta
- Combine multiple queries, array_unique returns nothing
- Store custom field’s multiple values in one user meta key
- How to display last whole post on the homepage
- Remove item from post_meta array via AJAX
- Make sticky post with FacetWP
- missing admin bar and widget in a template
- How to include a function in a template with template tag
- Custom content using in_category
- What is the proper way to call a function (from functions.php) on a link click?
- Fatal error when using array_diff() function inside of wp_update_nav_menu hook?
- What syntax is this? “{{post.price}}”
- PHP array to jQuery array ” Uncaught SyntaxError: Unexpected token < "
- Custom WordPress Function – Adding items from Foreach Loop into an array and Updating Field based on array of IDs (ACF + WooCommerce)
- how to goto specific page number including title with permalink
- How to extract URLs from wordpress taxonomies
- WordPress 6.1.1 UTF8 Slug Limit Increase
- How to initialise WP_Query on the basis of a specific meta_value and continue iterating rest?
- why css file not link?how to create permalink?
- How to group by column a and sum column b and c in a php array
- Replace block content with an array
- Adding date and time to the same request
- How can one use variables in a template or template part without polluting the global scope?
- Need Help With Making Full-Width Template for Blog Posts (common methods aren’t working)
- PHP how to submit array elements to database
- PHP – Converting elements to actual values
- How to automatically flush permalinks?
- Execute wp_after_insert_post after the permalink is customized
- WordPress CPT & Custom Taxonomy with the SAME Permalink Structure
- Send emails to individual subscribers when CPT post is deleted (trashed)
- Remove slug of multiple custom post types with and without hierarchical
- Modify the permalink structure for a specific category
- How to pass php array to external js file in WordPress
- change the blog in the url if you go from a specific page wordpress
- Is it possible to go to the next post in the same category?
- How to edit templates created in the block editor in code / template files not updating
- WordPress post-template null warnings
- Get check box values inside array for use in posting form data
- WordPress per ACF – permalink is not working
- Processing data and redirecting with query string
- Warning: Array to string conversion in /css/base.php on line 500 [closed]
- I’ve added SKU to Woocommerce permalinks, but I have small issue
- Post returns 404 after changing the permalink using post_type_link
- Updating from multiple array custom table
- Inserting more than one array into same row
- AJAX Appending Data Adds Mystery “0” :(
- Cannot access the other pages after successfully editing post type