[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fQ-E8HUkFXtk1i3x9Hr0CFqbDC4HdNNl4jgvfZPAJdFM":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"daankortenbach","Daan Kortenbach","https:\u002F\u002Fprofiles.wordpress.org\u002Fdaankortenbach\u002F",2,210,85,30,84,"2026-04-04T03:50:17.688Z",[14,36],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":20,"downloaded":21,"rating":22,"num_ratings":23,"last_updated":24,"tested_up_to":25,"requires_at_least":26,"requires_php":27,"tags":28,"homepage":31,"download_link":32,"security_score":9,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":35},"redirect-to-login-if-not-logged-in","Redirect to login if not logged in","1.7.0","\u003Cp>Redirects users to the login page if the user is not logged in. After login the user gets redirected to the original entry page. For advanced users a filter is provided to override the redirect.\u003C\u002Fp>\n\u003Cp>The principle behind this plugin is to redirect all users – from every post, page, archive, etc. – to the login page (usually wp-login.php). Except for the override filter it does nothing else.\u003C\u002Fp>\n\u003Ch4>Overriding the redirect\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>Note:\u003C\u002Fstrong> This plugin may not be for you, a membership plugin might be a better fit. Chris Lema writes excellent reviews of +30 membership plugins here: http:\u002F\u002Fchrislema.com\u002Fcategory\u002Fmemberships-plugins\u002F\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>If you do have a need for this plugin and you want to exclude specific views under specific conditions, a filter is provided to override the redirect.\u003C\u002Fp>\n\u003Cp>To override the redirect the filter must return a boolean value of \u003Ccode>true\u003C\u002Fcode>. WordPress core provides many conditional tags that either return \u003Ccode>true\u003C\u002Fcode> or \u003Ccode>false\u003C\u002Fcode> or you can write your own conditionals.\u003C\u002Fp>\n\u003Cp>Take a look at the Conditional Tags page on The WordPress Codex for some inspiration.\u003Cbr \u002F>\nhttps:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Usage:\u003C\u002Fstrong>\u003Cbr \u002F>\nCopy\u002Fpaste\u002Fedit an example to the functions.php of your theme or create a new file in wp-content\u002Fmu-plugins\u002F if you do not wish to edit your theme.\u003C\u002Fp>\n\u003Cp>\u003Cem>Note: Be carefull not to use multiple filters at the same time as that may cause unexpected results. Instead use multiple conditions in one filter.\u003C\u002Fem>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Override if the front page is either posts or a page:\u003C\u002Fp>\n\u003Cp>add_filter( ‘rtl_override_redirect’, ‘is_front_page’ );\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Override if the post is ‘hello-world’:\u003C\u002Fp>\n\u003Cp>add_filter( ‘rtl_override_redirect’, function() {\u003Cbr \u002F>\n      return is_single( ‘hello-world’ );\u003Cbr \u002F>\n    });\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Override if the page is ‘sample-page’:\u003C\u002Fp>\n\u003Cp>add_filter( ‘rtl_override_redirect’, function() {\u003Cbr \u002F>\n      return is_page( ‘sample-page’ );\u003Cbr \u002F>\n    });\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Override if the page ID is 42, the slug is ‘sample-page’ or the title is ‘About Me’:\u003C\u002Fp>\n\u003Cp>add_filter( ‘rtl_override_redirect’, function() {\u003Cbr \u002F>\n      return is_page( array( 42, ‘sample-page’, ‘About Me’ ) );\u003Cbr \u002F>\n    });\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Override if the page ID is 42 or a post is ‘hello-world’:\u003C\u002Fp>\n\u003Cp>add_filter( ‘rtl_override_redirect’, function() {\u003Cbr \u002F>\n      if ( is_page( 42 ) || is_single( ‘hello-world’ ) ) {\u003Cbr \u002F>\n        return true;\u003Cbr \u002F>\n      }\u003Cbr \u002F>\n    });\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n","Redirects users to the login page if the visitor is not logged in.",200,19866,96,10,"2018-09-13T09:18:00.000Z","5.0.25","3.0.1","",[29,30],"login","redirect","http:\u002F\u002Fwordpress.org\u002Fplugins\u002Fredirect-to-login-if-not-logged-in\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fredirect-to-login-if-not-logged-in.1.7.0.zip",0,null,"2026-03-15T15:16:48.613Z",{"slug":37,"name":38,"version":39,"author":5,"author_profile":6,"description":40,"short_description":41,"active_installs":23,"downloaded":42,"rating":33,"num_ratings":33,"last_updated":43,"tested_up_to":44,"requires_at_least":26,"requires_php":27,"tags":45,"homepage":48,"download_link":49,"security_score":9,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":50},"wp-widget-preview","WP Widget Preview","1.1","\u003Cp>Enables a preview mode for widgets. In preview mode, widgets are only visible for admins.\u003C\u002Fp>\n","Enables a preview mode for widgets. In preview mode, widgets are only visible for admins.",4533,"2013-07-09T10:40:00.000Z","3.6.1",[46,47],"preview","widget","http:\u002F\u002Fdaan.kortenba.ch\u002Fwordpress-widget-preview\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwp-widget-preview.1.1.zip","2026-03-15T14:54:45.397Z"]