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:
- How to get URL of current page displayed?
- How does printf( __( ) ); work?
- Return HTML Template Page with PHP Function
- Why do templates contain so many PHP tag pairs?
- How to store the_title() into a variable to reutrn the value, not just echo it
- how to get permalink structure with php
- How to have a custom display for both woocommerce archive and product-category pages? [closed]
- How to update single value in multi dimensional Post Meta?
- On this day PHP code
- WordPress theme & site not loading after moving files
- add_rewrite_rule with bottom priority doesn’t handle the WordPress pages
- Using a javascript file to access a get posts array
- Generate an array of parent/child page IDs, based on parent page name
- How do I output a database option that is an array into a get_posts array?
- Put a link to a category round a hard coded A HREF
- How do I dynamically generate args for wp_query?
- Link to file in plugin directory from wordpress template?
- wordpress upgrade has broken my permalinks
- Password protecting content in custom template
- An unwanted inline style is added to my body tag
- Working with query_posts ( arrays and query strings)
- Storing Array from returned database query and using the array in a new query
- Add prefix to link url
- Mass update excerpt
- php script to change slug in post automatically
- WordPress every page is 404 not found including admin resources
- Change title only in dynamic page
- Exclude posts based on meta value
- Perform internal redirect in WordPress?
- how to show only specific category for a template
- Alter required message using comment form api
- Can’t print Yoast meta description into page template (syntax error, unexpected ‘.’) [closed]
- Using same variable names in files added with get_template_part()
- How to use if statement in an array? [closed]
- How to array only one key from another array
- single.php with different look by category
- Why is an array created in a function hooked to customize register populated when customizer is loaded but not when the front-end is loaded?
- Get categories names as an array to use it in theme settings
- Removing WordPress Footer -without access to PHP code?
- Change product_base programmatically
- How to get the last category name of a child category?
- Create page template via functions.php?
- Divi change project category slug
- Foreach loop inside an array_merge
- how to display this functions?
- is_page_template showing partial results
- WordPress loop by meta key that is an array? and how loop multiple arrays
- Adding regular php file to site
- Template Loop – add switch case php
- Getting posts to exclude from array
- Post repeated when opening in overlay, how do I solve this? [closed]
- Custom post type permalinks do not appear using the link functions
- How to Handle Going Backwards in Navigation When Referrer in PHP/JavaScript won’t work?
- Remove slugs from custom posts type
- how to make an array of post id’s in is_single
- array_rand not working correctly?
- Get css class of menu item in custom menu structure
- Dynamically adding filters
- Gravity Forms merge tags in templates?
- Unable to render custom field after attempt to generate a list of recent post in page template
- Creating a Category Taxonomy
- pass html code to worpdress
- Insert PHP code in Text
- Categories Listing and Highlighting current category item
- Getting a WordPress tag to print inside of a traditional php echo
- understand what code is doing when prepending /blog
- Sending simple variable on single page to WP JSON
- 404 on old link after changing post url
- Order users by random not working?
- 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?
- 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?
- Permalink changes after several minutes after saving post
- How to edit button permalink inside function.php using a child theme?
- How to filter specific element of an array in wordpress/php?
- If is_page elseif is_page not working like I want it to
- Remove item from post_meta array via AJAX
- Make sticky post with FacetWP
- missing admin bar and widget in a template
- Fatal error when using array_diff() function inside of wp_update_nav_menu hook?
- PHP array to jQuery array ” Uncaught SyntaxError: Unexpected token < "
- My own theme’s custom widget areas are not working
- How to use foreach and if statement within array of arrays?
- Permalinks and custom PHP application
- How to find the function which is outputting Array
- How to call a certain object/menubar in a PHP file
- WordPress Rewrite Issue
- Exclude Post ID from Array Specified in Custom Field
- how to register a second page-template
- How to set if meta_value is lower < than other meta_value in a get_posts array?
- Populate checkboxes from array
- PHP code for link with text
- PHP Use Declared array Variable inside already Declared Array
- Why is my array_diff usage breaking things?
- Adding date and time to the same request
- Remove slug of multiple custom post types with and without hierarchical
- Inserting more than one array into same row