Wrox Programmer Forums
|
BOOK: Professional WordPress
This is the forum to discuss the Wrox book Professional WordPress by Hal Stern, David Damstra, Brad Williams; ISBN: 9780470560549
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WordPress section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2017, 07:55 AM
Registered User
 
Join Date: Nov 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regarding $meta_key argument of metadata

Hello, I have a question.
Following content is written in P.148 this book.

"To prevent metadata keys from appearing in the custom fields meta box on the post edit screen, prefix the meta key with an underscore like "_prowp_price. This will hide the data from the user and is common practice when creating meta boxes."

I would like to ask about preceding above contents.

1. Why meta key prevent from appearing in the Custom Fields is better?
2. Could you please show me sample codes that using this prefix?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata and Self Identifying Templates iceandrews XSLT 2 November 9th, 2010 03:22 PM
Cube Metadata Recipe Stefaans BOOK: Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports 2 August 26th, 2010 07:16 PM
Metadata sabucalex General .NET 2 November 29th, 2006 03:02 AM
metadata error question beertv Dreamweaver (all versions) 5 November 13th, 2003 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.