After learning how to customize the post editor and taxonomies with custom data fields, the next area that we will be making additions to is the user creation and edition tool. This type of addition can be used for many different purposes, including tracking when users have last visited a site or storing additional data on the types of services they are interested in. This chapter expands on the private content plugin that we started in Chapter 2, Plugin Framework Basics and Chapter 3, User Settings and Administration Pages in the recipes entitled Creating a new enclosing shortcode and Storing stylesheet data in user settings, by adding a second level of content protection that will restrict some posts or pages so that they are only available to paid users.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia